From: vsr Date: Thu, 16 Apr 2020 17:36:30 +0000 (+0300) Subject: Remove CMake warnings: set-up cmake policies globally in SalomeMacros.cmake X-Git-Tag: V9_5_0b1~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=94ef8752597d6e666f354cdac8e1a71412fab8a8;p=modules%2Fsmesh.git Remove CMake warnings: set-up cmake policies globally in SalomeMacros.cmake --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 97d6b5a51..fa6c53b3d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,12 +21,6 @@ PROJECT(SalomeSMESH C CXX) INCLUDE(CMakeDependentOption) -# 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 # =========== # Project name, upper case