|
@@ -1331,7 +1331,9 @@ if(NOT WINDOWS OR CYGWIN)
|
|
# TODO: what about the .spec file? Is it only needed for RPM creation?
|
|
# TODO: what about the .spec file? Is it only needed for RPM creation?
|
|
install(FILES "${SDL2_SOURCE_DIR}/sdl2.m4" DESTINATION "share/aclocal")
|
|
install(FILES "${SDL2_SOURCE_DIR}/sdl2.m4" DESTINATION "share/aclocal")
|
|
else()
|
|
else()
|
|
- install(TARGETS SDL2 RUNTIME DESTINATION bin)
|
|
|
|
|
|
+ if(SDL_SHARED)
|
|
|
|
+ install(TARGETS SDL2 RUNTIME DESTINATION bin)
|
|
|
|
+ endif()
|
|
endif()
|
|
endif()
|
|
|
|
|
|
##### Uninstall target #####
|
|
##### Uninstall target #####
|