From: ana Date: Mon, 25 Jul 2016 14:04:13 +0000 (+0300) Subject: Windows: suppress Cmake warnings X-Git-Tag: V8_1_0b1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4bb59f67f92489502ae11c3f242efdb0bef0c3d2;p=plugins%2Fghs3dprlplugin.git Windows: suppress Cmake warnings --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 5dbce59..65709d3 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 # ===========