blob: 91a508c0d0e459de74faa75499fc1fa6c2e01337 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
Bug: https://github.com/scitokens/scitokens-cpp/pull/89
Bug: https://github.com/scitokens/scitokens-cpp/pull/90
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 22f86a6..2083bff 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -1,6 +1,8 @@
add_executable(scitokens-gtest main.cpp)
-add_dependencies(scitokens-gtest gtest)
+if( NOT SCITOKENS_EXTERNAL_GTEST )
+ add_dependencies(scitokens-gtest gtest)
+ include_directories("${PROJECT_SOURCE_DIR}/vendor/gtest/googletest/include")
+endif()
-include_directories("${PROJECT_SOURCE_DIR}/vendor/gtest/googletest/include")
if(SCITOKENS_EXTERNAL_GTEST)
|