From 19736049c9e117c642f3f0a5e81af5cf2a40b392 Mon Sep 17 00:00:00 2001 From: Haonan Chen Date: Mon, 5 Jan 2026 15:21:35 +0800 Subject: [PATCH] fix build --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 67b7888..ef87d31 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,9 +20,9 @@ add_executable(ufo src/fold.cpp src/unfold.cpp src/project-to-mode.cpp target_include_directories(ufo PRIVATE ${PROJECT_SOURCE_DIR}/include) target_link_libraries(ufo PRIVATE TBB::tbb Matplot++::matplot biu::biu) target_compile_features(ufo PRIVATE cxx_std_23) -target_compile_options(ufo PRIVATE -fexperimental-library) +target_compile_definitions(ufo PRIVATE BIU_LOGGER_SOURCE_ROOT="${CMAKE_SOURCE_DIR}") if (CMAKE_BUILD_TYPE STREQUAL "Debug") - target_compile_definitions(ufo PRIVATE BIU_LOGGER_DEBUG BIU_LOGGER_SOURCE_ROOT="${CMAKE_SOURCE_DIR}") + target_compile_definitions(ufo PRIVATE BIU_LOGGER_DEBUG) target_compile_options(ufo PRIVATE -ftemplate-backtrace-limit=0) endif()