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

index df0b8586e2fdcd36c7035820ebc8ea09f3c47232..91bca3691af49fda4421ae51ab70d6c8506b12a9 100755 (executable)
@@ -21,6 +21,9 @@ PROJECT(SalomeHYBRIDPLUGIN 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
 # ===========