From b03f648194e2f7b27431735fe6abe7f9649c5d00 Mon Sep 17 00:00:00 2001 From: "nikolai.shipilov" Date: Fri, 20 Feb 2026 16:34:54 +0100 Subject: [PATCH] Add compile definition --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e15280a..65d2c43 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,6 +47,8 @@ cmake_dependent_option( opendaq_common_compile_targets_settings() opendaq_setup_compiler_flags(${REPO_OPTION_PREFIX}) +add_compile_definitions(FMT_HEADER_ONLY) + if (${REPO_OPTION_PREFIX}_ENABLE_TESTS) message(STATUS "Unit tests in ${REPO_NAME} are ENABLED") enable_testing()