Remove CMake warnings: set-up cmake policies globally in SalomeMacros.cmake

This commit is contained in:
vsr 2020-04-16 20:31:59 +03:00
parent f9693c55bc
commit bac2122ad7

View File

@ -19,12 +19,6 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8 FATAL_ERROR)
PROJECT(SalomeNETGENPLUGIN 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