diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index ad693e31b..db51d1b9f 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -1,7 +1,5 @@ # Set lib core link dependencies -set(libraries_to_link - ${CMAKE_THREAD_LIBS_INIT} -) +set(libraries_to_link) set(gsl_test_sources) if(${GSL_FOUND}) diff --git a/src/core/examples/CMakeLists.txt b/src/core/examples/CMakeLists.txt index 9befa2b39..0f0d7eeff 100644 --- a/src/core/examples/CMakeLists.txt +++ b/src/core/examples/CMakeLists.txt @@ -47,7 +47,6 @@ build_lib_example( NAME main-test-sync SOURCE_FILES main-test-sync.cc LIBRARIES_TO_LINK ${libnetwork} - ${CMAKE_THREAD_LIBS_INIT} ) build_lib_example(