Skip to content

Commit b56f6f4

Browse files
committed
build: Use correct San options in pkgconfig when using multi-config gen
1 parent fba36a3 commit b56f6f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@ if (condition)
888888
if (NOT Sanitizers_FOUND)
889889
message (FATAL_ERROR "Sanitizers not found!")
890890
endif ()
891-
set (Seastar_Sanitizers_OPTIONS ${Sanitizers_COMPILE_OPTIONS})
891+
set (Seastar_Sanitizers_OPTIONS $<${condition}:${Sanitizers_COMPILE_OPTIONS}>)
892892
target_link_libraries (seastar
893893
PUBLIC
894894
$<${condition}:Sanitizers::address>

0 commit comments

Comments
 (0)