File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 4444 # Note the current convention is to use the -S and -B options here to specify source
4545 # and build directories, but this is only available with CMake 3.13 and higher.
4646 # The CMake binaries on the Github Actions machines are (as of this writing) 3.12
47- run : cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_UNITTESTS =yes -DEXTERNAL_GTEST =${{ matrix.external-gtest }}
47+ run : cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DSCITOKENS_BUILD_UNITTESTS =yes -DSCITOKENS_EXTERNAL_GTEST =${{ matrix.external-gtest }}
4848
4949 - name : Build
5050 working-directory : ${{runner.workspace}}/build
Original file line number Diff line number Diff line change 11
22add_executable (scitokens-gtest main.cpp)
3- add_dependencies (scitokens-gtest gtest)
3+ if ( NOT SCITOKENS_EXTERNAL_GTEST )
4+ add_dependencies (scitokens-gtest gtest)
5+ endif ()
46include_directories ("${PROJECT_SOURCE_DIR} /vendor/gtest/googletest/include" )
57
68if (SCITOKENS_EXTERNAL_GTEST)
You can’t perform that action at this time.
0 commit comments