zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit c83d5e6435caecc2238250fb6d8c9d5a6ce3dd7b
parent 4f4b13eda5e02bbaf17a79f6ed23d51bb9d79555
Author: fundamental <mark.d.mccurry@gmail.com>
Date:   Sun, 16 Oct 2016 09:50:24 -0400

Try To Fix clock_gettime Linker Error

Diffstat:
Msrc/CMakeLists.txt | 2+-
Msrc/Plugin/ZynAddSubFX/CMakeLists.txt | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt @@ -447,7 +447,7 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows") "-static" iphlpapi "-static" winpthread) else() - set(PLATFORM_LIBRARIES "") + set(PLATFORM_LIBRARIES rt) set(PTHREAD_LIBRARY pthread) endif() diff --git a/src/Plugin/ZynAddSubFX/CMakeLists.txt b/src/Plugin/ZynAddSubFX/CMakeLists.txt @@ -108,7 +108,7 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows") "-static" iphlpapi "-static" winpthread) else() - set(PLATFORM_LIBRARIES X11 GL) + set(PLATFORM_LIBRARIES X11 GL rt) endif() target_link_libraries(ZynAddSubFX_lv2 zynaddsubfx_core ${OS_LIBRARIES} ${LIBLO_LIBRARIES}