From: ana Date: Mon, 25 Jul 2016 14:05:04 +0000 (+0300) Subject: Windows: suppress Cmake warnings X-Git-Tag: V8_1_0b1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c3a5a6581940ab927fccecf0f86f63d2b6620de0;p=modules%2Fhexablock.git Windows: suppress Cmake warnings --- diff --git a/CMakeLists.txt b/CMakeLists.txt index ab5db66..1a3d629 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 # ===========