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

index 483889194964810fce840e91019feaeb266db41d..92043b16a954c7f76d88adf4b9d644ae50446e4d 100755 (executable)
@@ -21,6 +21,9 @@ PROJECT(SalomeHEXABLOCKPLUGIN 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
 # ===========