]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
Windows: suppress Cmake warnings
authorana <ana@opencascade.com>
Mon, 25 Jul 2016 14:06:45 +0000 (17:06 +0300)
committerana <ana@opencascade.com>
Mon, 25 Jul 2016 14:06:45 +0000 (17:06 +0300)
CMakeLists.txt

index f655ba55adb01c5a3558f841bfbfe082c1eba6c4..3bee5e117424af9805c2e7be4b76c3f63e1f5ca5 100644 (file)
@@ -23,6 +23,9 @@ PROJECT(SalomeMED C CXX)
 
 # Ensure a proper linker behavior:
 CMAKE_POLICY(SET CMP0003 NEW)
+IF(WIN32)
+  CMAKE_POLICY(SET CMP0020 OLD) # disable automatic linking to qtmain.lib 
+ENDIF(WIN32)
 
 # Versioning
 # ===========