CMakeLists.txt
changeset 9093 61d1cd95698e
parent 9083 029f8d643dbe
child 9112 345a7d41dda9
     1.1 --- a/CMakeLists.txt	Mon Aug 18 18:44:08 2014 -0700
     1.2 +++ b/CMakeLists.txt	Tue Aug 19 21:13:07 2014 -0700
     1.3 @@ -1331,7 +1331,9 @@
     1.4    # TODO: what about the .spec file? Is it only needed for RPM creation?
     1.5    install(FILES "${SDL2_SOURCE_DIR}/sdl2.m4" DESTINATION "share/aclocal")
     1.6  else()
     1.7 -  install(TARGETS SDL2 RUNTIME DESTINATION bin)
     1.8 +  if(SDL_SHARED)
     1.9 +    install(TARGETS SDL2 RUNTIME DESTINATION bin)
    1.10 +  endif()
    1.11  endif()
    1.12  
    1.13  ##### Uninstall target #####