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

index 2865057dfe3efe1602b59ff356b7bd210fa75ee3..0c4b29a311dffc04fb0b0b51651db48475615926 100755 (executable)
@@ -21,6 +21,9 @@ PROJECT(SalomeNETGENPLUGIN 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
 # ===========