build: xo_add_shared_library() -> xo_add_shared_library3()

This commit is contained in:
Roland Conybeare 2023-10-17 15:18:40 -04:00
commit 465a712252
2 changed files with 2 additions and 1 deletions

View file

@ -2,5 +2,6 @@
include(CMakeFindDependencyMacro)
find_dependency(reflect)
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
check_required_components("@PROJECT_NAME@")

View file

@ -3,7 +3,7 @@
set(SELF_LIB printjson)
set(SELF_SRCS PrintJson.cpp init_printjson.cpp)
xo_add_shared_library(${SELF_LIB} ${PROJECT_VERSION} 1 ${SELF_SRCS})
xo_add_shared_library3(${SELF_LIB} ${PROJECT_NAME}Targets ${PROJECT_VERSION} 1 ${SELF_SRCS})
# ----------------------------------------------------------------
# dependencies: indentlog, ...