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

index 39fb9fb794c2ae7fd7653861ef83abda24117a6b..b88d4d623bec0a968f3297a24189fe892a49d38d 100755 (executable)
@@ -21,6 +21,9 @@ PROJECT(SalomeJOBMANAGER 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
 # ===========