mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-12 08:33:15 -04:00
19 lines
633 B
Diff
19 lines
633 B
Diff
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)
|