diff --git a/CMakeLists.txt b/CMakeLists.txt index db8c583..f5c61eb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 2.4) project(SoftFM) +find_package(Threads) find_package(PkgConfig) find_package(ALSA REQUIRED) @@ -49,6 +50,7 @@ include_directories( ${EXTRA_INCLUDES} ) target_link_libraries(softfm + ${CMAKE_THREAD_LIBS_INIT} ${RTLSDR_LIBRARIES} ${ALSA_LIBRARIES} ${EXTRA_LIBS} )