diff --git a/CMakeLists.txt b/CMakeLists.txt index 04cc53f2..b63e290e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,10 +42,3 @@ add_subdirectory(src/webutil) # provide find_package() support xo_export_cmake_config(${PROJECT_NAME} ${PROJECT_VERSION} ${PROJECT_NAME}Targets) - -# ---------------------------------------------------------------- -# install bespoke targets, if any - -xo_install_include_tree() - -#install(TARGETS example DESTINATION bin/xo-webutil/example) diff --git a/src/webutil/CMakeLists.txt b/src/webutil/CMakeLists.txt index 7d9f5665..54fe2a88 100644 --- a/src/webutil/CMakeLists.txt +++ b/src/webutil/CMakeLists.txt @@ -4,7 +4,7 @@ set(SELF_LIB webutil) set(SELF_SRCS StreamEndpointDescr.cpp HttpEndpointDescr.cpp Alist.cpp) # reminder: can't be header-only library, because depends on non-header-only callback (bc of non-header-only refcnt) -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}) # ---------------------------------------------------------------- # external dependencies