Skip to content
Snippets Groups Projects
Commit c9505e80 authored by Oliver Heidmann's avatar Oliver Heidmann
Browse files

Pthreads is now required

parent b87378a5
No related branches found
No related tags found
1 merge request!312CMake Improvements and fixes
......@@ -24,8 +24,9 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
### -------------- Pthread ---------------------------
message("Start check for pthread")
include(FindThreads)
find_package(Threads)
find_package(Threads REQUIRED)
set_target_properties(Threads::Threads PROPERTIES THREADS_PREFER_PTHREAD_FLAG TRUE)
list(APPEND cdo_compile_defintions HAVE_LIBPTHREAD=1)
### -------------- WordExp ---------------------------
message("Start check for wordexp")
......
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