build: symlink-aware install

This commit is contained in:
Roland Conybeare 2023-10-19 15:46:37 -04:00
commit 6bb448708b
2 changed files with 3 additions and 2 deletions

View file

@ -47,6 +47,7 @@ xo_export_cmake_config(${PROJECT_NAME} ${PROJECT_VERSION} ${PROJECT_NAME}Targets
# ----------------------------------------------------------------
# install .hpp
xo_install_include_tree()
#xo_install_include_tree()
xo_install_include_tree3(include/xo/cxxutil)
# end CMakeLists.txt

View file

@ -1,5 +1,5 @@
set(SELF_LIB refcnt)
set(SELF_SRCS Refcounted.cpp Displayable.cpp)
xo_add_shared_library(${SELF_LIB} ${PROJECT_VERSION} 1 ${SELF_SRCS})
xo_add_shared_library4(${SELF_LIB} ${PROJECT_NAME}Targets ${PROJECT_VERSION} 1 ${SELF_SRCS})
xo_dependency(${SELF_LIB} indentlog)