From b5dc259687ff5a19dcf49a57c4a8edac56ed6f0d Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Sun, 22 Oct 2023 17:37:39 -0400 Subject: [PATCH] build: use simplified cmake macro api --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 263db2ca..f336712c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,13 +36,12 @@ add_subdirectory(utest) # ---------------------------------------------------------------- # header-only library -set(SELF_SHORTNAME ordinaltree) -set(SELF_LIB xo_${SELF_SHORTNAME}) +set(SELF_LIB xo_ordinaltree) xo_add_headeronly_library(${SELF_LIB}) # ---------------------------------------------------------------- # -xo_install_library5(${SELF_LIB} ${SELF_SHORTNAME} ${PROJECT_NAME}Targets) +xo_install_library4(${SELF_LIB} ${PROJECT_NAME}Targets) # (note: ..Targets from xo_install_library2()) xo_export_cmake_config(${PROJECT_NAME} ${PROJECT_VERSION} ${PROJECT_NAME}Targets)