diff --git a/template_cpp/src/CMakeLists.txt b/template_cpp/src/CMakeLists.txt index 8659af1..c1d306a 100644 --- a/template_cpp/src/CMakeLists.txt +++ b/template_cpp/src/CMakeLists.txt @@ -4,4 +4,6 @@ include_directories(include) set(SOURCES src/main.cpp) # DO NOT EDIT THE FOLLOWING LINE +find_package(Threads) add_executable(da_proc ${SOURCES}) +target_link_libraries(da_proc ${CMAKE_THREAD_LIBS_INIT})