From 2310733c45c325faa01ded8d7b19851886577edd Mon Sep 17 00:00:00 2001 From: Ross maxx Date: Mon, 13 May 2024 21:48:50 +0530 Subject: [PATCH] double quotes --- plugins/LadspaEffect/swh/CMakeLists.txt | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/plugins/LadspaEffect/swh/CMakeLists.txt b/plugins/LadspaEffect/swh/CMakeLists.txt index d50cf55248f..6dce6f68cc7 100644 --- a/plugins/LadspaEffect/swh/CMakeLists.txt +++ b/plugins/LadspaEffect/swh/CMakeLists.txt @@ -60,8 +60,7 @@ FOREACH(_item ${XML_SOURCES}) ) endif(LMMS_BUILD_WIN32) - target_compile_options("${_plugin}" PUBLIC ${COMPILE_FLAGS}) - target_link_libraries("${_plugin}" PUBLIC ${LINK_FLAGS}) + target_compile_options("${_plugin}" PUBLIC "${COMPILE_FLAGS}") SET_TARGET_PROPERTIES("${_plugin}" PROPERTIES PREFIX "") INSTALL(TARGETS "${_plugin}" LIBRARY DESTINATION "${PLUGIN_DIR}/ladspa") ENDFOREACH() @@ -75,7 +74,7 @@ INCLUDE_DIRECTORIES( ) ADD_LIBRARY(iir STATIC ladspa/util/iir.c) -target_compile_options(iir PUBLIC ${PIC_FLAGS}) +target_compile_options(iir PUBLIC "${PIC_FLAGS}") TARGET_LINK_LIBRARIES(bandpass_a_iir_1893 iir) TARGET_LINK_LIBRARIES(bandpass_iir_1892 iir) TARGET_LINK_LIBRARIES(butterworth_1902 iir) @@ -86,23 +85,23 @@ TARGET_LINK_LIBRARIES(notch_iir_1894 iir) FILE(GLOB GSM_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/ladspa/gsm/*.c") LIST(SORT GSM_SOURCES) ADD_LIBRARY(gsm STATIC ${GSM_SOURCES}) -target_compile_options(gsm PUBLIC ${PIC_FLAGS}) +target_compile_options(gsm PUBLIC "${PIC_FLAGS}") TARGET_LINK_LIBRARIES(gsm_1215 gsm) ADD_LIBRARY(gverb STATIC ladspa/gverb/gverb.c ladspa/gverb/gverbdsp.c) -target_compile_options(gverb PUBLIC ${PIC_FLAGS}) +target_compile_options(gverb PUBLIC "${PIC_FLAGS}") TARGET_LINK_LIBRARIES(gverb_1216 gverb) ADD_LIBRARY(blo STATIC ladspa/util/blo.c) -target_compile_options(blo PUBLIC ${PIC_FLAGS}) +target_compile_options(blo PUBLIC "${PIC_FLAGS}") TARGET_LINK_LIBRARIES(analogue_osc_1416 blo) TARGET_LINK_LIBRARIES(fm_osc_1415 blo) TARGET_LINK_LIBRARIES(hermes_filter_1200 blo) ADD_LIBRARY(rms STATIC ladspa/util/rms.c) ADD_LIBRARY(db STATIC ladspa/util/db.c) -target_compile_options(rms PUBLIC ${PIC_FLAGS}) -target_compile_options(db PUBLIC ${PIC_FLAGS}) +target_compile_options(rms PUBLIC "${PIC_FLAGS}") +target_compile_options(db PUBLIC "${PIC_FLAGS}") TARGET_LINK_LIBRARIES(sc1_1425 rms db) TARGET_LINK_LIBRARIES(sc2_1426 rms db) TARGET_LINK_LIBRARIES(sc3_1427 rms db) @@ -111,7 +110,7 @@ TARGET_LINK_LIBRARIES(sc4m_1916 rms db) TARGET_LINK_LIBRARIES(se4_1883 rms db) ADD_LIBRARY(pitchscale STATIC ladspa/util/pitchscale.c) -target_compile_options(pitchscale PUBLIC ${PIC_FLAGS}) +target_compile_options(pitchscale PUBLIC "${PIC_FLAGS}") TARGET_LINK_LIBRARIES(pitchscale -lfftw3f) TARGET_LINK_LIBRARIES(pitch_scale_1193 pitchscale) TARGET_LINK_LIBRARIES(pitch_scale_1194 pitchscale)