Added explicit threads link dependency

This commit is contained in:
Bartek Kryza
2022-06-12 20:35:32 +02:00
parent dc581c2654
commit abba53694b
2 changed files with 8 additions and 8 deletions

View File

@@ -78,7 +78,7 @@ list(REMOVE_ITEM SOURCES ${MAIN_SOURCE_FILE})
add_library(clang-umllib OBJECT ${SOURCES})
add_executable(clang-uml ${MAIN_SOURCE_FILE})
target_link_libraries(clang-uml ${LIBCLANG_LIBRARIES} ${YAML_CPP_LIBRARIES} cppast clang-umllib)
target_link_libraries(clang-uml ${LIBCLANG_LIBRARIES} ${YAML_CPP_LIBRARIES} cppast clang-umllib Threads::Threads)
target_compile_features(clang-uml PRIVATE cxx_std_17)