File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -1390,7 +1390,8 @@ endif()
1390
1390
##### Installation targets #####
1391
1391
install (TARGETS ${_INSTALL_LIBS}
1392
1392
LIBRARY DESTINATION "lib${LIB_SUFFIX} "
1393
- ARCHIVE DESTINATION "lib${LIB_SUFFIX} " )
1393
+ ARCHIVE DESTINATION "lib${LIB_SUFFIX} "
1394
+ RUNTIME DESTINATION bin)
1394
1395
1395
1396
file (GLOB INCLUDE_FILES ${SDL2_SOURCE_DIR} /include /*.h)
1396
1397
file (GLOB BIN_INCLUDE_FILES ${SDL2_BINARY_DIR} /include /*.h)
@@ -1418,10 +1419,6 @@ if(NOT WINDOWS OR CYGWIN)
1418
1419
install (PROGRAMS ${SDL2_BINARY_DIR} /sdl2-config DESTINATION bin)
1419
1420
# TODO: what about the .spec file? Is it only needed for RPM creation?
1420
1421
install (FILES "${SDL2_SOURCE_DIR} /sdl2.m4" DESTINATION "share/aclocal" )
1421
- else ()
1422
- if (SDL_SHARED)
1423
- install (TARGETS SDL2 RUNTIME DESTINATION bin)
1424
- endif ()
1425
1422
endif ()
1426
1423
1427
1424
##### Uninstall target #####
You can’t perform that action at this time.
0 commit comments