From 51e76466ca7ae2b8f2d52728a8a1a03be5a26d19 Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Thu, 14 Feb 2019 16:53:01 +0100 Subject: Remove legacy cmake commands PROJ requires CMake >= 3.5. --- test/unit/CMakeLists.txt | 6 ------ 1 file changed, 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}") -- cgit v1.2.3