Fixed linkage when THREADING=SEQ (#17620)
This commit is contained in:
1 parent
dcd034fb4d
commit
da9f6c557f
1 file changed
+3
@@ -35,6 +35,9 @@ target_include_directories(${TARGET_NAME} PUBLIC
|
||||
target_include_directories(${TARGET_NAME} SYSTEM PRIVATE
|
||||
$<BUILD_INTERFACE:$<$<TARGET_EXISTS:xbyak::xbyak>:$<TARGET_PROPERTY:xbyak::xbyak,INTERFACE_INCLUDE_DIRECTORIES>>>)
|
||||
|
||||
find_package(Threads REQUIRED)
|
||||
target_link_libraries(${TARGET_NAME} PRIVATE Threads::Threads)
|
||||
|
||||
add_clang_format_target(${TARGET_NAME}_clang FOR_TARGETS ${TARGET_NAME})
|
||||
|
||||
# Add an alias so that library can be used inside the build tree, e.g. when testing
|
||||
|
||||
Reference in new issue
Block a user