mirror of
https://github.com/love2d/megasource.git
synced 2026-08-17 19:24:09 +02:00
Install shared libraries.
This commit is contained in:
@@ -1148,6 +1148,9 @@ set(_INSTALL_LIBS "SDL2main")
|
||||
|
||||
if(SDL_SHARED)
|
||||
add_library(SDL2 SHARED ${SOURCE_FILES})
|
||||
if(MEGA)
|
||||
install(TARGETS SDL2 RUNTIME DESTINATION .)
|
||||
endif()
|
||||
if(UNIX)
|
||||
set_target_properties(SDL2 PROPERTIES
|
||||
VERSION ${LT_VERSION}
|
||||
|
||||
Reference in New Issue
Block a user