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

index ab5db6681862dcf352bb8db25cf29ccc3dfb323f..1a3d629e085642784c15a8f937149bd779a857e9 100755 (executable)
@@ -21,6 +21,9 @@ PROJECT(SalomeHEXABLOCK 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
 # ===========