]> SALOME platform Git repositories - modules/jobmanager.git/commitdiff
Salome HOME
Remove CMake warnings: set-up cmake policies globally in SalomeMacros.cmake
authorvsr <vsr@opencascade.com>
Thu, 16 Apr 2020 17:23:44 +0000 (20:23 +0300)
committervsr <vsr@opencascade.com>
Thu, 16 Apr 2020 17:23:44 +0000 (20:23 +0300)
CMakeLists.txt

index 6c9e63ad7e4e7b3a8a3313d90e35555221cf21b3..bf1b0c84a3f89270733da3c7e31afcd4157fe00b 100644 (file)
 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