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

index 215f38eb2c9a737aa323c324dc77ca80aba7fcc6..a5eb684a2209c1052c14218ac5c8cbb771237048 100755 (executable)
@@ -21,6 +21,9 @@ PROJECT(SalomeBLSURFPLUGIN 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
 # ===========