CMakeLists.txt
changeset 10458 b24c67bbb02f
parent 10447 2e197b249d68
child 10533 cd2e0b0c7ec5
equal deleted inserted replaced
10457:19ac0ca04c8b 10458:b24c67bbb02f
  1533 # Always build SDLmain
  1533 # Always build SDLmain
  1534 add_library(SDL2main STATIC ${SDLMAIN_SOURCES})
  1534 add_library(SDL2main STATIC ${SDLMAIN_SOURCES})
  1535 set(_INSTALL_LIBS "SDL2main")
  1535 set(_INSTALL_LIBS "SDL2main")
  1536 
  1536 
  1537 if(SDL_SHARED)
  1537 if(SDL_SHARED)
  1538   add_library(SDL2 SHARED ${SOURCE_FILES})
  1538   add_library(SDL2 SHARED ${SOURCE_FILES} ${VERSION_SOURCES})
  1539   if(UNIX)
  1539   if(UNIX)
  1540     set_target_properties(SDL2 PROPERTIES
  1540     set_target_properties(SDL2 PROPERTIES
  1541       VERSION ${LT_VERSION}
  1541       VERSION ${LT_VERSION}
  1542       SOVERSION ${LT_REVISION}
  1542       SOVERSION ${LT_REVISION}
  1543       OUTPUT_NAME "SDL2-${LT_RELEASE}")
  1543       OUTPUT_NAME "SDL2-${LT_RELEASE}")