diff --git a/CMakeLists.txt b/CMakeLists.txt index c6459b6..9f225fb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -89,7 +89,7 @@ add_library(enet STATIC ${SOURCE_FILES} ) -if (MINGW) +if (WIN32) target_link_libraries(enet winmm ws2_32) endif()