Add "LIBRARY" destination for install commands.

This commit is contained in:
rude
2013-10-02 00:17:06 +02:00
parent ca8fdab359
commit 34d8250c2d
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1149,7 +1149,7 @@ set(_INSTALL_LIBS "SDL2main")
if(SDL_SHARED)
add_library(SDL2 SHARED ${SOURCE_FILES})
if(MEGA)
install(TARGETS SDL2 RUNTIME DESTINATION .)
install(TARGETS SDL2 RUNTIME DESTINATION . LIBRARY DESTINATION .)
endif()
if(UNIX)
set_target_properties(SDL2 PROPERTIES