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

index 5dbce59d221d15b6068500cd8a89a316e3635583..65709d3f1d09986c653a369076c571331ca87f8d 100755 (executable)
@@ -21,6 +21,9 @@ PROJECT(SalomeGHS3DPRLPLUGIN 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
 # ===========