Skip to content
Snippets Groups Projects
Commit 837bead8 authored by Olivier BICHLER's avatar Olivier BICHLER
Browse files

Added Thread dependency

parent 959c1655
No related branches found
No related tags found
No related merge requests found
......@@ -42,6 +42,8 @@ set(FMT_SYSTEM_HEADERS ON)
FetchContent_MakeAvailable(fmt)
set_property(TARGET fmt PROPERTY POSITION_INDEPENDENT_CODE ON)
find_package(Threads REQUIRED)
##############################################
# Create target and set properties
......@@ -73,7 +75,7 @@ if (PYBIND)
)
endif()
target_link_libraries(${module_name} PUBLIC fmt::fmt)
target_link_libraries(${module_name} PUBLIC Threads::Threads fmt::fmt)
target_compile_features(${module_name} PRIVATE cxx_std_14)
if (DOSANITIZE STREQUAL "ON")
......
......@@ -2,6 +2,7 @@
include(CMakeFindDependencyMacro)
find_dependency(fmt)
find_dependency(Threads)
include(${CMAKE_CURRENT_LIST_DIR}/aidge_core-config-version.cmake)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment