Skip to content

Commit

Permalink
this might fix it
Browse files Browse the repository at this point in the history
  • Loading branch information
Rossmaxx committed May 13, 2024
1 parent fb60b0c commit c6aeadf
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions plugins/LadspaEffect/caps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ IF(LMMS_BUILD_WIN32)
)
ENDIF(LMMS_BUILD_WIN32)

IF(NOT LMMS_BUILD_APPLE AND NOT LMMS_BUILD_OPENBSD)
SET(LINK_FLAGS "${LINK_FLAGS} -shared -Wl -no-undefined")
target_link_libraries(caps PUBLIC ${LINK_FLAGS})
ENDIF(NOT LMMS_BUILD_APPLE AND NOT LMMS_BUILD_OPENBSD)

IF(LMMS_BUILD_LINUX)
target_link_libraries(caps PUBLIC "${LINK_FLAGS}")
ENDIF(LMMS_BUILD_LINUX)

IF(NOT LMMS_BUILD_APPLE AND NOT LMMS_BUILD_OPENBSD AND NOT MSVC)
target_link_libraries(caps PUBLIC "-shared -Wl -no-undefined")
ENDIF()

0 comments on commit c6aeadf

Please sign in to comment.