github: more weird build experiments
This commit is contained in:
parent
75cfc477b8
commit
2bd1b19388
3 changed files with 3 additions and 2 deletions
1
.github/workflows/cmake-single-platform.yml
vendored
1
.github/workflows/cmake-single-platform.yml
vendored
|
|
@ -80,7 +80,6 @@ jobs:
|
|||
- name: Configure reflect
|
||||
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
|
||||
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
|
||||
run: cmake -B ${{github.workspace}}/build_reflect -DCMAKE_PREFIX_PATH=${{github.workspace}}/local -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/local -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} --debug-find
|
||||
|
||||
- name: Build reflect
|
||||
# Build your program with the given configuration
|
||||
|
|
|
|||
|
|
@ -47,6 +47,9 @@ if(NOT CMAKE_INSTALL_RPATH)
|
|||
set(CMAKE_INSTALL_RPATH $(CMAKE_INSTALL_PREFIX)/lib CACHE STRING "runpath in installed libraries/executables")
|
||||
endif()
|
||||
|
||||
# early find_package() experiment
|
||||
find_package(indentlog CONFIG REQUIRED)
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
# sources
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ xo_install_library(${SELF_LIBRARY_NAME})
|
|||
#xo_refcnt_dependency(${SELF_LIBRARY_NAME})
|
||||
#xo_indentlog_dependency(${SELF_LIBRARY_NAME})
|
||||
|
||||
find_package(indentlog CONFIG REQUIRED)
|
||||
#add_dependencies(${SELF_LIBRARY_NAME} indentlog)
|
||||
# note: can't use find_package() here,
|
||||
# because find_package() needs to run successfully before
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue