Modernize compiler and linker flags (#7255)

This commit is contained in:
Rossmaxx
2024-06-02 15:22:51 +05:30
committed by GitHub
parent 969943b335
commit 43fbcca9cb
7 changed files with 21 additions and 35 deletions

View File

@@ -60,7 +60,7 @@ MACRO(BUILD_PLUGIN PLUGIN_NAME)
IF(LMMS_BUILD_APPLE)
IF ("${PLUGIN_LINK}" STREQUAL "SHARED")
SET_TARGET_PROPERTIES(${PLUGIN_NAME} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")
TARGET_LINK_OPTIONS(${PLUGIN_NAME} PRIVATE -undefined dynamic_lookup)
ENDIF()
ENDIF(LMMS_BUILD_APPLE)
IF(LMMS_BUILD_WIN32)