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

This commit is contained in:
vsr 2020-04-16 20:13:59 +03:00
parent df260abc61
commit 1c03b6900c

View File

@ -21,12 +21,6 @@ INCLUDE(CMakeDependentOption)
PROJECT(SalomeGEOM 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