From ff07675aa70dbe19a81faa4818ef34c620bbcefd Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Thu, 23 Jun 2022 20:50:23 +0000 Subject: Adding metadata --- .../files/scitokens-cpp-0.7.1-fix-external-gtest.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 dev-cpp/scitokens-cpp/files/scitokens-cpp-0.7.1-fix-external-gtest.patch (limited to 'dev-cpp/scitokens-cpp/files') diff --git a/dev-cpp/scitokens-cpp/files/scitokens-cpp-0.7.1-fix-external-gtest.patch b/dev-cpp/scitokens-cpp/files/scitokens-cpp-0.7.1-fix-external-gtest.patch new file mode 100644 index 000000000000..91a508c0d0e4 --- /dev/null +++ b/dev-cpp/scitokens-cpp/files/scitokens-cpp-0.7.1-fix-external-gtest.patch @@ -0,0 +1,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) -- cgit v1.3