From 6e28e7a85cf168b4bd0022b9f98351a98d169334 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Thu, 19 Sep 2024 15:32:40 -0600 Subject: [PATCH] fix: test_package building fixed --- test_package/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test_package/CMakeLists.txt b/test_package/CMakeLists.txt index fc629a0c9..b4aaae6c8 100644 --- a/test_package/CMakeLists.txt +++ b/test_package/CMakeLists.txt @@ -45,7 +45,9 @@ if(MP_UNITS_BUILD_CXX_MODULES) add_executable(test_package test_package.cpp) target_compile_features(test_package PRIVATE cxx_std_20) target_link_libraries(test_package PRIVATE mp-units::mp-units) - target_compile_definitions(test_package PRIVATE MP_UNITS_MODULES MP_UNITS_API_STD_FORMAT=$) + target_compile_definitions( + test_package PRIVATE MP_UNITS_MODULES MP_UNITS_API_STD_FORMAT=$ + ) if(MP_UNITS_API_CONTRACTS STREQUAL "NONE") target_compile_definitions(test_package PRIVATE MP_UNITS_API_CONTRACTS=0)