From: vsr Date: Thu, 16 Apr 2020 17:23:44 +0000 (+0300) Subject: Remove CMake warnings: set-up cmake policies globally in SalomeMacros.cmake X-Git-Tag: V9_5_0b1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1015d14dfb4951d9b4cd354c20d89b05ba7ac0df;p=modules%2Fjobmanager.git Remove CMake warnings: set-up cmake policies globally in SalomeMacros.cmake --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 6c9e63a..bf1b0c8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,12 +19,6 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8 FATAL_ERROR) PROJECT(SalomeJOBMANAGER 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