refactor: UDLs support switched off by default
This commit is contained in:
1 parent
5fc7e01d19
commit
1a5b4fc85e
17 files changed
+144
-142
No files matched your search
@@ -25,6 +25,7 @@ cmake_minimum_required(VERSION 3.2)
|
||||
function(add_example target)
|
||||
add_executable(${target}_alt ${target}.cpp)
|
||||
target_link_libraries(${target}_alt PRIVATE mp-units::mp-units)
|
||||
target_compile_definitions(${target}_alt PRIVATE UNITS_UDLS=1)
|
||||
endfunction()
|
||||
|
||||
add_example(box_example mp-units::si)
|
||||
|
||||
Reference in new issue
Block a user