CMakeLists.txt
changeset 9093 61d1cd95698e
parent 9083 029f8d643dbe
child 9112 345a7d41dda9
equal deleted inserted replaced
9092:8110b8a073f6 9093:61d1cd95698e
  1329   endif()
  1329   endif()
  1330   install(PROGRAMS ${SDL2_BINARY_DIR}/sdl2-config DESTINATION bin)
  1330   install(PROGRAMS ${SDL2_BINARY_DIR}/sdl2-config DESTINATION bin)
  1331   # TODO: what about the .spec file? Is it only needed for RPM creation?
  1331   # TODO: what about the .spec file? Is it only needed for RPM creation?
  1332   install(FILES "${SDL2_SOURCE_DIR}/sdl2.m4" DESTINATION "share/aclocal")
  1332   install(FILES "${SDL2_SOURCE_DIR}/sdl2.m4" DESTINATION "share/aclocal")
  1333 else()
  1333 else()
  1334   install(TARGETS SDL2 RUNTIME DESTINATION bin)
  1334   if(SDL_SHARED)
       
  1335     install(TARGETS SDL2 RUNTIME DESTINATION bin)
       
  1336   endif()
  1335 endif()
  1337 endif()
  1336 
  1338 
  1337 ##### Uninstall target #####
  1339 ##### Uninstall target #####
  1338 
  1340 
  1339 configure_file(
  1341 configure_file(