diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-05-23 21:26:46 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-05-23 21:26:46 +0000 |
| commit | 819113ceced27805a428e1aae1d9904b22a1960b (patch) | |
| tree | 02015fdb62e4a89b7dd835a17c3869a7fd5c0e5b /testfiles | |
| parent | Merge branch 'fix-undefined-references-without-lcms' of gitlab.com:libiquity/... (diff) | |
| download | inkscape-819113ceced27805a428e1aae1d9904b22a1960b.tar.gz inkscape-819113ceced27805a428e1aae1d9904b22a1960b.zip | |
Fix building of tests with system install of gtest on debian
Diffstat (limited to 'testfiles')
| -rw-r--r-- | testfiles/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testfiles/CMakeLists.txt b/testfiles/CMakeLists.txt index a8c16d7ca..c9e6e39d1 100644 --- a/testfiles/CMakeLists.txt +++ b/testfiles/CMakeLists.txt @@ -3,9 +3,11 @@ # ----------------------------------------------------------------------------- if(NOT GTEST_FOUND) # not required for gtest 1.8.0 and later add_subdirectory(${GMOCK_DIR} ${CMAKE_BINARY_DIR}/gmock) + set(GTEST_INCLUDE_DIR ${GMOCK_DIR}/../googletest/include) include_directories(SYSTEM ${GMOCK_DIR}/gtest/include ${GMOCK_DIR}/include + ${GTEST_INCLUDE_DIR} ${CMAKE_SOURCE_DIR}/gtest/gtest/include) endif() include_directories("${CMAKE_SOURCE_DIR}/src/3rdparty/adaptagrams") |
