aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/Effect/ladspa/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Effect/ladspa/CMakeLists.txt b/src/plugins/Effect/ladspa/CMakeLists.txt
index f06a97ead..47e29be57 100644
--- a/src/plugins/Effect/ladspa/CMakeLists.txt
+++ b/src/plugins/Effect/ladspa/CMakeLists.txt
@@ -66,6 +66,6 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
ADD_LIBRARY(ladspa MODULE ${libladspa_SRCS} ${libladspa_MOC_SRCS} ${libladspa_UIS_H}
${libladspa_RCC_SRCS} ${libladspa_HDRS})
add_dependencies(ladspa qmmp)
-target_link_libraries(ladspa ${QT_LIBRARIES} -lqmmp -ldl)
+target_link_libraries(ladspa ${QT_LIBRARIES} -lqmmp ${CMAKE_DL_LIBS})
install(TARGETS ladspa DESTINATION ${LIB_DIR}/qmmp/Effect)