File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ jobs:
149149 # - name: Add pkgconfig
150150 # run: sudo apt-get update && sudo apt-get install -y pkgconfig
151151 - name : Configure
152- run : cmake -S . -B build -DCLI11_INSTALL_PACKAGE_TESTS=ON
152+ run : cmake -S . -B build -DCLI11_INSTALL_PACKAGE_TESTS=ON -DCMAKE_INSTALL_PREFIX=/home/runner/work/install
153153 - name : Build
154154 run : cmake --build build -j2
155155 - name : install
Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ endif()
281281if (CLI11_INSTALL_PACKAGE_TESTS)
282282 set (CLI11_PACKAGE_SEARCH_LOC)
283283else ()
284- set (CLI11_PACKAGE_SEARCH_LOC "-DCLI11_DIR=${PROJECT_BINARY_DIR } " )
284+ set (CLI11_PACKAGE_SEARCH_LOC "-DCLI11_DIR=${CMAKE_INSTALL_PREFIX } " )
285285endif ()
286286
287287# tests of the cmake package and pkg-config package
You can’t perform that action at this time.
0 commit comments