Skip to content
Snippets Groups Projects
Commit 1291ea3a authored by Millian Poquet's avatar Millian Poquet
Browse files

[cmake] add pthread (for loguru)

parent 84699baa
Branches
No related tags found
No related merge requests found
......@@ -38,6 +38,10 @@ include_directories(${INTERVALSET_INCLUDE_DIR})
find_package(loguru REQUIRED)
include_directories(${LOGURU_INCLUDE_DIR})
## pthread (for loguru)
set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)
## GMP
find_package(GMP REQUIRED)
include_directories(${GMP_INCLUDE_DIR})
......@@ -73,6 +77,7 @@ target_link_libraries(batsched ${GMP_LIBRARIES}
${Boost_REGEX_LIBRARY_DEBUG}
${Boost_LOCALE_LIBRARY_DEBUG}
${INTERVALSET_LIBRARY}
Threads::Threads
${REDOX_LIBRARY}
${LIBEV_LIBRARY}
${HIREDIS_LIBRARY}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment