all repos — mgba @ 9b667209554def8e1afc5dfe1246cd984090e11f

mGBA Game Boy Advance Emulator

Libretro: Fix build
Jeffrey Pfau jeffrey@endrift.com
Sat, 26 Sep 2015 14:31:02 -0700
commit

9b667209554def8e1afc5dfe1246cd984090e11f

parent

bbb5c5ff94e104b34fdf4f45c07a87d7a01c1996

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

jump to
M CMakeLists.txtCMakeLists.txt

@@ -531,7 +531,7 @@

if(BUILD_LIBRETRO) 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") + 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}) endif()