github: more experiments w/ --debug-find

This commit is contained in:
Roland Conybeare 2023-09-26 15:45:03 -04:00
commit 75cfc477b8
2 changed files with 3 additions and 12 deletions

View file

@ -31,7 +31,7 @@ jobs:
path: repo/indentlog
- name: Configure indentlog
run: cmake -B ${{github.workspace}}/build_indentlog -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/local repo/indentlog
run: cmake -B ${{github.workspace}}/build_indentlog -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/local --debug-find repo/indentlog
- name: Build indentlog
run: cmake --build ${{github.workspace}}/build_indentlog --config ${{env.BUILD_TYPE}}
@ -47,7 +47,7 @@ jobs:
path: repo/subsys
- name: Configure subsys
run: cmake -B ${{github.workspace}}/build_subsys -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/local repo/subsys
run: cmake -B ${{github.workspace}}/build_subsys -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/local --debug-find repo/subsys
- name: Build subsys
@ -56,13 +56,13 @@ jobs:
- name: Install subsys
run: cmake --install ${{github.workspace}}/build_subsys
- name: Clone refcnt
uses: actions/checkout@v3
with:
repository: Rconybea/refcnt
path: repo/refcnt
- name: Configure refcnt
run: cmake -B ${{github.workspace}}/build_refcnt -DCMAKE_PREFIX_PATH=${{github.workspace}}/local -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/local --debug-find repo/refcnt

View file

@ -25,15 +25,6 @@ xo_install_library(${SELF_LIBRARY_NAME})
#xo_refcnt_dependency(${SELF_LIBRARY_NAME})
#xo_indentlog_dependency(${SELF_LIBRARY_NAME})
find_package(refcnt CONFIG REQUIRED)
#add_dependencies(${SELF_LIBRARY_NAME} refcnt)
target_include_directories(
${SELF_LIBRARY_NAME} PUBLIC
$<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/local/include>
$<INSTALL_INTERFACE:include>
)
target_link_libraries(${SELF_LIBRARY_NAME} PUBLIC refcnt)
find_package(indentlog CONFIG REQUIRED)
#add_dependencies(${SELF_LIBRARY_NAME} indentlog)
# note: can't use find_package() here,