CMake: Build lmms shared library instead of object library

Resolves some inexplicable linking errors on Windows. Saves us from
working around incomplete CMake support of object libraries.
This commit is contained in:
Lukas W
2020-05-22 17:20:08 +02:00
parent ac0081de10
commit 846ca178f5
19 changed files with 80 additions and 123 deletions

View File

@@ -50,4 +50,4 @@ IF(NOT LMMS_BUILD_APPLE AND NOT LMMS_BUILD_OPENBSD)
SET_TARGET_PROPERTIES(veal PROPERTIES LINK_FLAGS "${LINK_FLAGS} -shared -Wl,-no-undefined")
ENDIF()
TARGET_LINK_LIBRARIES(veal lmms)
TARGET_LINK_LIBRARIES(veal lmmslib)