diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-06-23 20:50:23 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-06-23 20:50:23 +0000 |
| commit | ff07675aa70dbe19a81faa4818ef34c620bbcefd (patch) | |
| tree | 9b114874b8b8a58c5510e920f6385848afb0fb6b /dev-cpp/scitokens-cpp/files | |
| parent | 8f3e4b9d3c5737f0c0e3e843ffd496094852c80f (diff) | |
| download | baldeagleos-repo-ff07675aa70dbe19a81faa4818ef34c620bbcefd.tar.gz baldeagleos-repo-ff07675aa70dbe19a81faa4818ef34c620bbcefd.tar.xz baldeagleos-repo-ff07675aa70dbe19a81faa4818ef34c620bbcefd.zip | |
Adding metadata
Diffstat (limited to 'dev-cpp/scitokens-cpp/files')
| -rw-r--r-- | dev-cpp/scitokens-cpp/files/scitokens-cpp-0.7.1-fix-external-gtest.patch | 18 |
1 files changed, 18 insertions, 0 deletions
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) |
