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

This commit is contained in:
vsr 2020-04-16 20:36:30 +03:00
parent 0fc0831670
commit 94ef875259

View File

@ -21,12 +21,6 @@ PROJECT(SalomeSMESH C CXX)
INCLUDE(CMakeDependentOption) INCLUDE(CMakeDependentOption)
# 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 # Versioning
# =========== # ===========
# Project name, upper case # Project name, upper case