Libretro: Add install target for libretro core
Jeffrey Pfau jeffrey@endrift.com
Tue, 29 Dec 2015 15:31:02 -0500
2 files changed,
2 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -41,6 +41,7 @@ - Qt: Gray out "Skip BIOS intro" while "Use BIOS file" is unchecked
- 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:
M
CMakeLists.txt
→
CMakeLists.txt
@@ -555,6 +555,7 @@ file(GLOB RETRO_SRC ${CMAKE_SOURCE_DIR}/src/platform/libretro/*.c)
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)