Static linking for MinGW with properties
This commit is contained in:
parent
814020a244
commit
2a09dd36d1
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ endif()
|
|||
target_include_directories(${LV2PLUGIN_PRJ_NAME} PRIVATE . external/ardour)
|
||||
sfizz_enable_lto_if_needed (${LV2PLUGIN_PRJ_NAME})
|
||||
if (MINGW)
|
||||
target_link_options (${LV2PLUGIN_PRJ_NAME} PRIVATE "-static")
|
||||
set_target_properties (${LV2PLUGIN_PRJ_NAME} PROPERTIES LINK_FLAGS "-static")
|
||||
endif()
|
||||
|
||||
# Remove the "lib" prefix, rename the target name and build it in the .lv build dir
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue