diff options
author | Sergei Golubchik <serg@mariadb.org> | 2016-09-04 13:23:03 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-09-04 13:48:18 +0200 |
commit | 58f20b0c6e308acd0b95ab0f8924dbb01be325ff (patch) | |
tree | 561c3ad8713bafa121d48237a6e5882ce25cddec /CMakeLists.txt | |
parent | 663835f62d9deb056c9283ba76ddac632466c4cf (diff) | |
download | mariadb-git-58f20b0c6e308acd0b95ab0f8924dbb01be325ff.tar.gz |
Set cmake policy CMP0054 NEW
meaning in IF("A") cmake will not expand the value of the variable A
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 89b2d6b8abf..2fa5d102e18 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,6 +31,9 @@ IF(CMAKE_VERSION VERSION_EQUAL "3.0.0" OR CMAKE_POLICY(SET CMP0045 OLD) CMAKE_POLICY(SET CMP0042 OLD) ENDIF() +IF(POLICY CMP0054) + CMAKE_POLICY(SET CMP0054 NEW) +ENDIF() MESSAGE(STATUS "Running cmake version ${CMAKE_VERSION}") |