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

index 840f641be7838558c24a59444447bd99723c9a68..e53f6f6c87136e6bb256bc1b4f40ea7a918508a2 100644 (file)
 CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8 FATAL_ERROR)
 PROJECT(SalomeHexoticPLUGIN 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