Paste #Y8k -- näytä pelkkänä tekstinä -- uusi tämän pohjalta
1 2 3 4 5 6 7 8 9 10 11 12 | diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 60e2b1d..bd19e4a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -112,6 +112,7 @@ if(WIN32) if(MSVC) # MSVC Specifics # Surpress some useless warnings add_definitions ( /D "_CRT_SECURE_NO_DEPRECATE" /W1 ) + add_definitions (-DNOMINMAX) else() # Probably MinGW = GCC set(PLATFORM_LIBS ws2_32.lib) endif() |