diff --git a/CMakeLists.txt b/CMakeLists.txt index 3aadcdf..3fe66b3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,3 +3,7 @@ cmake_minimum_required(VERSION 3.22.1) project(LTDFS) add_executable(${PROJECT_NAME} src/main.cpp) + +set(THREADS_PREFER_PTHREAD_FLAG ON) +find_package(Threads REQUIRED) +target_link_libraries(${PROJECT_NAME} PRIVATE Threads::Threads)