projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Silence deprecation warning from CMake 3.0+
[quassel.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
a9a32ac
..
0c1141f
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-34,6
+34,10
@@
include(FeatureSummary)
include(QuasselCompileSettings)
include(QuasselMacros)
include(QuasselCompileSettings)
include(QuasselMacros)
+# Setting COMPILE_DEFINITIONS_<CONFIG> is deprecated since CMake 3.0 in favor of generator expressions.
+# These have existed since CMake 2.8.10; until we depend on that, we have to explicitly enable the old policy.
+cmake_policy(SET CMP0043 OLD)
+
# Options and variables that can be set on the command line
#####################################################################
# Options and variables that can be set on the command line
#####################################################################