Просмотр исходного кода

Merge branch 'fix-mingw-compilation'

* fix-mingw-compilation:
  Fix compilation with MinGW32 or MinGW64 under Windows OS. Fixes #654
Jean-Christophe Fillion-Robin лет назад: 7
Родитель
Сommit
08d9bf1f7a
1 измененных файлов с 1 добавлено и 1 удалено
  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()