diff options
author | lyxia <lysxia@gmail.com> | 2017-10-14 23:07:42 -0400 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2018-03-26 19:21:27 +0100 |
commit | 110e97a4e07339cb9593a48b6a23df0f484a4750 (patch) | |
tree | 470c913e9dcd5abf0e2c73c80248b1b1e346d3fb /unittests/CMakeLists.txt | |
parent | 4010156bf946341f42aa82fc0a2669c936d5e106 (diff) | |
download | klee-110e97a4e07339cb9593a48b6a23df0f484a4750.tar.gz |
[CMake] Add option to set GTest include dir
Diffstat (limited to 'unittests/CMakeLists.txt')
-rw-r--r-- | unittests/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/unittests/CMakeLists.txt b/unittests/CMakeLists.txt index 85b7b061..63934336 100644 --- a/unittests/CMakeLists.txt +++ b/unittests/CMakeLists.txt @@ -52,7 +52,12 @@ define_property(GLOBAL FULL_DOCS "KLEE unit tests" ) -set(GTEST_INCLUDE_DIR "${GTEST_SRC_DIR}/include") +set(GTEST_INCLUDE_DIR + "${GTEST_SRC_DIR}/include" + CACHE + PATH + "Path to GTest include directory" +) if (NOT IS_DIRECTORY "${GTEST_INCLUDE_DIR}") message(FATAL_ERROR |