Explorar o código

Fix compilation with MinGW32 or MinGW64 under Windows OS. Fixes #654

Thanks: hdeleau
Jean-Christophe Fillion-Robin %!s(int64=9) %!d(string=hai) anos
pai
achega
4b57f700c3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Libs/Core/Testing/Cpp/CMakeLists.txt

+ 1 - 1
Libs/Core/Testing/Cpp/CMakeLists.txt

@@ -110,7 +110,7 @@ if(HAVE_BFD)
   add_executable(ctkBinaryFileDescriptorTestHelper ctkBinaryFileDescriptorTestHelper.cpp)
 endif()
 
-if(WIN32)
+if(MSVC)
   add_definitions( /D _CRT_SECURE_NO_WARNINGS)
 endif()