add PSA to the UI if we actually build the UI
This commit is contained in:
parent
5743c10631
commit
e378105fd0
1 changed files with 3 additions and 1 deletions
|
|
@ -35,8 +35,10 @@ endif()
|
||||||
|
|
||||||
if(SFIZZ_LV2_PSA)
|
if(SFIZZ_LV2_PSA)
|
||||||
target_compile_definitions(${LV2PLUGIN_PRJ_NAME} PRIVATE "SFIZZ_LV2_PSA=1")
|
target_compile_definitions(${LV2PLUGIN_PRJ_NAME} PRIVATE "SFIZZ_LV2_PSA=1")
|
||||||
|
if(SFIZZ_LV2_UI)
|
||||||
target_compile_definitions(${LV2PLUGIN_PRJ_NAME}_ui PRIVATE "SFIZZ_LV2_PSA=1")
|
target_compile_definitions(${LV2PLUGIN_PRJ_NAME}_ui PRIVATE "SFIZZ_LV2_PSA=1")
|
||||||
endif()
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
# Explicitely strip all symbols on Linux but lv2_descriptor()
|
# Explicitely strip all symbols on Linux but lv2_descriptor()
|
||||||
# MacOS linker does not support this apparently https://bugs.webkit.org/show_bug.cgi?id=144555
|
# MacOS linker does not support this apparently https://bugs.webkit.org/show_bug.cgi?id=144555
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue