diff --git a/cmake/macros/BuildMetalib.cmake b/cmake/macros/BuildMetalib.cmake index b42c35b7f2..e744834374 100644 --- a/cmake/macros/BuildMetalib.cmake +++ b/cmake/macros/BuildMetalib.cmake @@ -30,7 +30,7 @@ function(target_link_libraries target) # Also build with the same BUILDING_ macros, because these will all end # up in the same library. - set(compile_definitions "$") + set(compile_definitions "$<$>:$>") set_property(TARGET "${target}" APPEND PROPERTY COMPILE_DEFINITIONS "${compile_definitions}") # Libraries are only linked transitively if they aren't components.