Salome HOME
Windows: suppress Cmake warnings
[modules/paravis.git] / src / Plugins / ParaMEDCorba / CMakeLists.txt
index 1c0280fc9ab810d253d3c5bf4602718a34c2b9f3..2d61a70fdc8cd85f320a2f75d8b8f3a0c7dce84e 100644 (file)
 PROJECT( ParaMEDCorba )
 
   CMAKE_MINIMUM_REQUIRED( VERSION 2.8.7 )
+  IF(WIN32)
+    CMAKE_POLICY(SET CMP0020 OLD) # disable automatic linking to qtmain.lib 
+  ENDIF(WIN32)
+
   ## !!! This definition corrupts wrapping process
   #SET( LIBRARY_OUTPUT_PATH ${ParaMEDCorba_BINARY_DIR}/bin CACHE INTERNAL "Single place for output" )
   #SET( EXECUTABLE_OUTPUT_PATH ${ParaMEDCorba_BINARY_DIR}/bin  CACHE INTERNAL "Single place for output" )