Commit 3bfa07e6 authored by Votre Nom's avatar Votre Nom
Browse files

add librt for linux

parent 32ca64e1
......@@ -8,5 +8,8 @@ find_package(blc REQUIRED)
add_executable(f_fftw_spectrum f_fftw_spectrum.cpp)
target_link_options(f_fftw_spectrum PRIVATE -Wno-multichar)
target_link_libraries(f_fftw_spectrum PRIVATE blc rt ${FFTW_LIBRARIES})
target_link_libraries(f_fftw_spectrum PRIVATE blc ${FFTW_LIBRARIES})
if(UNIX AND NOT APPLE)
target_link_libraries(f_fftw_spectrum PRIVATE rt)
endif()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment