Libretro: Add install target for libretro core

This commit is contained in:
Jeffrey Pfau 2015-12-29 15:31:02 -05:00
parent a38bcb904d
commit e212157d2f
2 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,7 @@ Misc:
- Qt: Allow use of modifier keys as input
- Qt: Optimize log viewer
- GBA RR: Starting from savestate now embeds the savegame
- Libretro: Add install target for libretro core
0.3.2: (2015-12-16)
Bugfixes:

View File

@ -555,6 +555,7 @@ if(BUILD_LIBRETRO)
add_library(${BINARY_NAME}_libretro SHARED ${CORE_SRC} ${RETRO_SRC})
set_target_properties(${BINARY_NAME}_libretro PROPERTIES PREFIX "" COMPILE_DEFINITIONS "COLOR_16_BIT;COLOR_5_6_5;DISABLE_THREADING;${OS_DEFINES};${FUNCTION_DEFINES}")
target_link_libraries(${BINARY_NAME}_libretro ${OS_LIB})
install(TARGETS ${BINARY_NAME}_libretro LIBRARY DESTINATION ${LIBDIR} COMPONENT ${BINARY_NAME}_libretro NAMELINK_SKIP)
endif()
if(BUILD_SDL)