cmake: Update comment on why CMP0059 is still set to OLD

This commit is contained in:
James McCoy 2018-12-01 17:55:29 -05:00
parent bb94895d52
commit b14b2883e9
No known key found for this signature in database
GPG Key ID: DFE691AE331BA3DB

View File

@ -6,7 +6,10 @@ cmake_minimum_required(VERSION 2.8.12)
project(nvim C) project(nvim C)
if(POLICY CMP0059) 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() endif()
# Point CMake at any custom modules we may ship # Point CMake at any custom modules we may ship