From 25712169ee585da4e61bbc78f4d2b0318e28b149 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Wed, 27 Sep 2023 16:54:48 -0400 Subject: [PATCH] reflect: build: streamline --- CMakeLists.txt | 4 ++-- utest/CMakeLists.txt | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 407d67c..ec69e9c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,8 +51,8 @@ if(NOT CMAKE_INSTALL_RPATH) endif() # early find_package() experiment -find_package(indentlog CONFIG REQUIRED) -find_package(refcnt CONFIG REQUIRED) +#find_package(indentlog CONFIG REQUIRED) +#find_package(refcnt CONFIG REQUIRED) # ---------------------------------------------------------------- # sources diff --git a/utest/CMakeLists.txt b/utest/CMakeLists.txt index 2e1ba51..75f16ee 100644 --- a/utest/CMakeLists.txt +++ b/utest/CMakeLists.txt @@ -28,10 +28,11 @@ xo_include_options2(${SELF_EXECUTABLE_NAME}) # ---------------------------------------------------------------- # internal dependencies: logutil, ... -xo_internal_dependency(${SELF_EXECUTABLE_NAME} reflect) +# this won't work. when cmake runs, the Config files for reflect haven't been created yet. +xo_self_dependency(${SELF_EXECUTABLE_NAME} reflect) # ---------------------------------------------------------------- -# 3rd part dependency: catch2: +# 3rd party dependency: catch2: find_package(Catch2 2 REQUIRED)