Salome HOME
projects
/
modules
/
homard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2551418
)
Remove CMake warnings: set-up cmake policies globally in SalomeMacros.cmake
author
vsr
<vsr@opencascade.com>
Thu, 16 Apr 2020 17:22:24 +0000
(20:22 +0300)
committer
vsr
<vsr@opencascade.com>
Thu, 16 Apr 2020 17:22:24 +0000
(20:22 +0300)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 2e1111c06c50f7b3b7d11aabe619d0fdd05b7c2c..7b138ff427d39a99108d4065d527cc652a845cda 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-20,12
+20,6
@@
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8 FATAL_ERROR)
PROJECT(SalomeHOMARD 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