aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2018-06-16 10:20:25 -0400
committerJames McCoy <jamessan@jamessan.com>2018-06-18 08:00:30 -0400
commit23c9e3ec1ee16eef79bfebc5dd59de712e354ceb (patch)
tree04859f5a13a9c74560adeef14a745c0236a0d923 /src
parent25435a4bad9378507b6ef759ae5b7fe92a129c8f (diff)
downloadrneovim-23c9e3ec1ee16eef79bfebc5dd59de712e354ceb.tar.gz
rneovim-23c9e3ec1ee16eef79bfebc5dd59de712e354ceb.tar.bz2
rneovim-23c9e3ec1ee16eef79bfebc5dd59de712e354ceb.zip
Raise minimum CMake version to 2.8.12 and remove compat code
2.8.12 is supported by our main CI targets and [repology] confirms that this is broadly supported. [repology]: https://repology.org/metapackage/cmake/information
Diffstat (limited to 'src')
-rw-r--r--src/nvim/CMakeLists.txt6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt
index bdedce8076..825ebc29cf 100644
--- a/src/nvim/CMakeLists.txt
+++ b/src/nvim/CMakeLists.txt
@@ -394,12 +394,6 @@ endif()
set(NVIM_EXEC_LINK_LIBRARIES ${NVIM_LINK_LIBRARIES} ${LUA_PREFERRED_LIBRARIES})
-if(CMAKE_VERSION VERSION_LESS "2.8.8")
- # Use include_directories() because INCLUDE_DIRECTORIES target property
- # is not supported
- include_directories(${LUA_PREFERRED_INCLUDE_DIRS})
-endif()
-
# Don't use jemalloc in the unit test library.
if(JEMALLOC_FOUND)
list(APPEND NVIM_EXEC_LINK_LIBRARIES ${JEMALLOC_LIBRARIES})