From df097e2e6dde2a21d3eacd0d94c853b49502fb5a Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sat, 10 Aug 2019 12:58:36 +0300 Subject: [PATCH] fix build --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c839311..b3e237e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,4 +29,4 @@ string(STRIP "${SDL2_LIBRARIES}" SDL2_LIBRARIES) add_executable(wave-share main.cpp) target_include_directories(wave-share PUBLIC ${FFTW_INCLUDE_DIRS} ${SDL2_INCLUDE_DIRS}) -target_link_libraries(wave-share PUBLIC ${FFTW_LIBRARIES} ${SDL2_LIBRARIES}) +target_link_libraries(wave-share PUBLIC ${CMAKE_THREAD_LIBS_INIT} ${FFTW_LIBRARIES} ${SDL2_LIBRARIES})