aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-06-18 20:37:39 +0200
committerGitHub <noreply@github.com>2018-06-18 20:37:39 +0200
commit37675c6a8744c9beca6c8e23c44f5a5e537d3bf5 (patch)
treee6e210f3efd293b144913ccb84c5360672cbe659 /src
parent09cd4d0a4340b8ba731f9ba9b3a51a002e9da75f (diff)
parenta26fd8a888c0e8ed27f003ce5948aa3d42fdb087 (diff)
downloadrneovim-37675c6a8744c9beca6c8e23c44f5a5e537d3bf5.tar.gz
rneovim-37675c6a8744c9beca6c8e23c44f5a5e537d3bf5.tar.bz2
rneovim-37675c6a8744c9beca6c8e23c44f5a5e537d3bf5.zip
Merge #8558 from jamessan/gnucxx-compiler-for-gnu-source
cmake: Check for GNU compiler, not Linux, to set -D_GNU_SOURCE
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})