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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user