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

index 75153637e3eb44463fcfdb87ad8a08d5708062e9..bdd31a44bc4d8fff675cf5e55559970d3ac51b73 100755 (executable)
@@ -21,6 +21,9 @@ PROJECT(SalomeGHS3DPLUGIN 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
 # ===========