Add linker options for MinGW
This commit is contained in:
parent
7eadbbd753
commit
c44e2e6985
1 changed files with 4 additions and 0 deletions
|
|
@ -57,6 +57,10 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
|||
target_link_libraries(${VSTPLUGIN_PRJ_NAME} PRIVATE
|
||||
"-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/vst3.version")
|
||||
endif()
|
||||
sfizz_enable_lto_if_needed (${VSTPLUGIN_PRJ_NAME})
|
||||
if (MINGW)
|
||||
set_target_properties (${VSTPLUGIN_PRJ_NAME} PROPERTIES LINK_FLAGS "-static")
|
||||
endif()
|
||||
|
||||
# Create the bundle (see "VST 3 Locations / Format")
|
||||
execute_process (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue