reflect: build: use xo_toplevel_compile_options() to simplify
This commit is contained in:
parent
79bb624ec8
commit
7a58d58470
2 changed files with 32 additions and 91 deletions
|
|
@ -45,10 +45,13 @@ set(CMAKE_CXX_STANDARD_REQUIRED True)
|
|||
# always write compile_commands.json
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON CACHE INTERNAL "")
|
||||
|
||||
xo_toplevel_compile_options()
|
||||
|
||||
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)
|
||||
find_package(refcnt CONFIG REQUIRED)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue