ci: pre-commit cmake-format checks fixed
This commit is contained in:
1 parent
be678e8ffa
commit
98da140fae
19 files changed
+200
-242
No files matched your search
@@ -25,12 +25,7 @@ cmake_minimum_required(VERSION 3.19)
|
||||
option(${projectPrefix}USE_LIBFMT "Enables usage of libfmt instead of the one from 'std'" ON)
|
||||
message(STATUS "${projectPrefix}USE_LIBFMT: ${${projectPrefix}USE_LIBFMT}")
|
||||
|
||||
add_units_module(core-fmt
|
||||
DEPENDENCIES
|
||||
mp-units::core
|
||||
HEADERS
|
||||
include/units/format.h
|
||||
)
|
||||
add_units_module(core-fmt DEPENDENCIES mp-units::core HEADERS include/units/format.h)
|
||||
target_compile_definitions(mp-units-core-fmt INTERFACE ${projectPrefix}USE_LIBFMT=$<BOOL:${${projectPrefix}USE_LIBFMT}>)
|
||||
|
||||
if(${projectPrefix}USE_LIBFMT)
|
||||
|
||||
Reference in new issue
Block a user