projects
/
libcds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
114a2e4
)
Fixed scripts for old cmake < 3.0
author
khizmax
<libcds.dev@gmail.com>
Mon, 16 Jan 2017 19:13:29 +0000
(22:13 +0300)
committer
khizmax
<libcds.dev@gmail.com>
Mon, 16 Jan 2017 19:13:29 +0000
(22:13 +0300)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index bede664a63931d4c53efa214f1296e4f9402436d..159be5579d55624ec9ba7b0303fcafcc63b86915 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-1,7
+1,9
@@
cmake_minimum_required(VERSION 2.8.12)
cmake_policy(SET CMP0016 NEW)
-cmake_policy(SET CMP0042 NEW)
+if(POLICY CMP0042)
+ cmake_policy(SET CMP0042 NEW)
+endif()
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/build/cmake ${CMAKE_MODULE_PATH})
include(TargetArch)