Salome HOME
projects
/
tools
/
medcoupling.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c093445
)
Patch from Intel
author
Anthony Geay
<anthony.geay@edf.fr>
Mon, 31 May 2021 12:39:36 +0000
(14:39 +0200)
committer
Anthony Geay
<anthony.geay@edf.fr>
Mon, 31 May 2021 12:39:57 +0000
(14:39 +0200)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 0cf9e4e8a5fecf767ed18348a1d8ba5b5caab5aa..ea2c09cea1c19ff859959924f2d802c173e95100 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-22,6
+22,17
@@
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11 FATAL_ERROR)
PROJECT(MEDCoupling C CXX)
+IF (${CMAKE_VERSION} VERSION_GREATER_EQUAL 3.3)
+ cmake_policy(SET CMP0057 NEW)
+ IF (${CMAKE_VERSION} VERSION_GREATER_EQUAL 3.13)
+ cmake_policy(SET CMP0078 OLD)
+ ENDIF()
+ IF (${CMAKE_VERSION} VERSION_GREATER_EQUAL 3.14)
+ cmake_policy(SET CMP0086 OLD)
+ ENDIF()
+ENDIF()
+
+
# Versioning
# ===========
# Project name, upper case