aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2018-12-01 17:55:29 -0500
committerJames McCoy <jamessan@jamessan.com>2018-12-01 17:56:03 -0500
commitb14b2883e9e395c4850d8fae17936b43b04fa46c (patch)
treed658200c1b019a48de6b816554f442fab734c23c
parentbb94895d52bcc58fb23e1010c9e896b7064b7ca0 (diff)
downloadrneovim-b14b2883e9e395c4850d8fae17936b43b04fa46c.tar.gz
rneovim-b14b2883e9e395c4850d8fae17936b43b04fa46c.tar.bz2
rneovim-b14b2883e9e395c4850d8fae17936b43b04fa46c.zip
cmake: Update comment on why CMP0059 is still set to OLD
-rw-r--r--CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 527ab5eba4..15718c94cf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,10 @@ cmake_minimum_required(VERSION 2.8.12)
project(nvim C)
if(POLICY CMP0059)
- cmake_policy(SET CMP0059 OLD) # Needed until cmake 2.8.12. #4389
+ # Needed for use of DEFINITIONS variable, which is used to collect the
+ # compilation flags for reporting in "nvim --version"
+ # https://github.com/neovim/neovim/pull/8558#issuecomment-398033140
+ cmake_policy(SET CMP0059 OLD)
endif()
# Point CMake at any custom modules we may ship