aboutsummaryrefslogtreecommitdiff
path: root/test/unit/CMakeLists.txt
diff options
context:
space:
mode:
authorKai Pastor <dg0yt@darc.de>2019-02-14 16:53:01 +0100
committerKai Pastor <dg0yt@darc.de>2019-02-14 16:53:01 +0100
commit51e76466ca7ae2b8f2d52728a8a1a03be5a26d19 (patch)
tree951ec4984ec58d4f1730af0fb70fb517f58961c0 /test/unit/CMakeLists.txt
parent5c4247858a90429be98e4645ded7ff4fb830a3b7 (diff)
downloadPROJ-51e76466ca7ae2b8f2d52728a8a1a03be5a26d19.tar.gz
PROJ-51e76466ca7ae2b8f2d52728a8a1a03be5a26d19.zip
Remove legacy cmake commands
PROJ requires CMake >= 3.5.
Diffstat (limited to 'test/unit/CMakeLists.txt')
-rw-r--r--test/unit/CMakeLists.txt6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/unit/CMakeLists.txt b/test/unit/CMakeLists.txt
index 8cd312ba..859e53f3 100644
--- a/test/unit/CMakeLists.txt
+++ b/test/unit/CMakeLists.txt
@@ -46,12 +46,6 @@ option(INSTALL_GTEST "Enable installation of googletest" OFF)
add_subdirectory(${CMAKE_BINARY_DIR}/googletest-src
${CMAKE_BINARY_DIR}/googletest-build
EXCLUDE_FROM_ALL)
-# The gtest/gtest_main targets carry header search path
-# dependencies automatically when using CMake 2.8.11 or
-# later. Otherwise we have to add them here ourselves.
-if (CMAKE_VERSION VERSION_LESS 2.8.11)
- include_directories("${gtest_SOURCE_DIR}/include")
-endif()
# FIXME: Deal with our old-school CMakeLists.txt behaving badly
set(CMAKE_C_FLAGS "${_save_c_flags}")