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

index 7be7e2ae82fd1e9bdcf593827264d7b828776bf1..eae8828317a9094ac9e295518f260dc72dc0f263 100755 (executable)
@@ -21,6 +21,9 @@ PROJECT(SalomeHexoticPLUGIN 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
 # ===========