Salome HOME
projects
/
modules
/
med.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac322e3
)
Remove CMake warnings: set-up cmake policies globally in SalomeMacros.cmake
author
vsr
<vsr@opencascade.com>
Thu, 16 Apr 2020 17:27:06 +0000
(20:27 +0300)
committer
vsr
<vsr@opencascade.com>
Thu, 16 Apr 2020 17:27:06 +0000
(20:27 +0300)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 25333114b4c4aa49ef0c99f4d6b1b79c8071598b..052b4192f3354611e992f2be1949df76b00f6f0f 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-21,12
+21,6
@@
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8 FATAL_ERROR)
INCLUDE(CMakeDependentOption)
PROJECT(SalomeFIELDS 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