all repos — mgba @ 3b0a42921cd648c5999e2c6e634b434d09d1705d

mGBA Game Boy Advance Emulator

Libretro: Fix module output name
Jeffrey Pfau jeffrey@endrift.com
Mon, 09 Mar 2015 23:41:38 -0700
commit

3b0a42921cd648c5999e2c6e634b434d09d1705d

parent

589b5f473c86c3874d858817f19c2d89f8359996

1 files changed, 3 insertions(+), 2 deletions(-)

jump to
M CMakeLists.txtCMakeLists.txt

@@ -304,8 +304,9 @@

if(BUILD_LIBRETRO) add_definitions(-DCOLOR_16_BIT -DCOLOR_5_6_5) file(GLOB RETRO_SRC ${CMAKE_SOURCE_DIR}/src/platform/libretro/*.c) - add_library(${BINARY_NAME}-libretro SHARED ${RETRO_SRC}) - target_link_libraries(${BINARY_NAME}-libretro ${BINARY_NAME} m ${DEBUGGER_LIB} ${OS_LIB} ${DEPENDENCY_LIB}) + add_library(${BINARY_NAME}_libretro SHARED ${RETRO_SRC}) + set_target_properties(${BINARY_NAME}_libretro PROPERTIES PREFIX "") + target_link_libraries(${BINARY_NAME}_libretro ${BINARY_NAME} m ${DEBUGGER_LIB} ${OS_LIB} ${DEPENDENCY_LIB}) endif() if(BUILD_SDL)