From: ana Date: Mon, 25 Jul 2016 14:06:45 +0000 (+0300) Subject: Windows: suppress Cmake warnings X-Git-Tag: V8_1_0b1~31^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3bb07cddc48ffb8825ea1cba2e2c13f4eb4f7812;p=modules%2Fmed.git Windows: suppress Cmake warnings --- diff --git a/CMakeLists.txt b/CMakeLists.txt index f655ba55a..3bee5e117 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,6 +23,9 @@ PROJECT(SalomeMED 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 # ===========