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:
149
149
# - name: Add pkgconfig
150
150
# run: sudo apt-get update && sudo apt-get install -y pkgconfig
151
151
- 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
153
153
- name : Build
154
154
run : cmake --build build -j2
155
155
- name : install
Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ endif()
281
281
if (CLI11_INSTALL_PACKAGE_TESTS)
282
282
set (CLI11_PACKAGE_SEARCH_LOC)
283
283
else ()
284
- set (CLI11_PACKAGE_SEARCH_LOC "-DCLI11_DIR=${PROJECT_BINARY_DIR } " )
284
+ set (CLI11_PACKAGE_SEARCH_LOC "-DCLI11_DIR=${CMAKE_INSTALL_PREFIX } " )
285
285
endif ()
286
286
287
287
# tests of the cmake package and pkg-config package
You can’t perform that action at this time.
0 commit comments