projects
/
openjpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
570dd13
)
[trunk] removed warnings when configuring with CMake 3.x on MacOS (fixes issue 443)
author
Matthieu Darbois
<mayeut@users.noreply.github.com>
Tue, 25 Nov 2014 23:57:37 +0000
(23:57 +0000)
committer
Matthieu Darbois
<mayeut@users.noreply.github.com>
Tue, 25 Nov 2014 23:57:37 +0000
(23:57 +0000)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 7859b6dcd45bc9a57015a1f4969725374fe39d79..79f66c357ba03db6bee622bb5be7909077a91951 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-11,6
+11,9
@@
cmake_minimum_required(VERSION 2.8.2)
if(COMMAND CMAKE_POLICY)
cmake_policy(SET CMP0003 NEW)
+ if (NOT (${CMAKE_VERSION} VERSION_LESS 3.0))
+ cmake_policy(SET CMP0042 NEW)
+ endif()
endif()
if(NOT OPENJPEG_NAMESPACE)