mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-05 00:38:00 +01:00
cmake: make source files of game's shared library configurable
This commit is contained in:
parent
ae9cf19778
commit
66e0319691
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ if (APPLE)
|
|||
endif(APPLE)
|
||||
install(TARGETS ${EXECUTABLE} DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
||||
|
||||
add_library("lib${LIBSUPERDERPY_GAMENAME}" SHARED "common.c")
|
||||
add_library("lib${LIBSUPERDERPY_GAMENAME}" SHARED ${SHARED_SRC_LIST})
|
||||
set_target_properties("lib${LIBSUPERDERPY_GAMENAME}" PROPERTIES PREFIX "")
|
||||
target_link_libraries("lib${LIBSUPERDERPY_GAMENAME}" libsuperderpy)
|
||||
install(TARGETS "lib${LIBSUPERDERPY_GAMENAME}" DESTINATION ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX})
|
||||
|
|
Loading…
Reference in a new issue