From 5a76e62965f1557d9972ffe25dc8febe76befdb5 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 16 Apr 2020 20:27:06 +0300 Subject: [PATCH] Remove CMake warnings: set-up cmake policies globally in SalomeMacros.cmake --- CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 25333114b..052b4192f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,12 +21,6 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8 FATAL_ERROR) INCLUDE(CMakeDependentOption) PROJECT(SalomeFIELDS 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 # =========== # Project name, upper case -- 2.39.2