all repos — mgba @ 1a6b422b4c4ade66c97d589e8be7306f849fdb05

mGBA Game Boy Advance Emulator

CMake: Fix libretro version-info dep (fixes #1438)
Vicki Pfau vi@endrift.com
Wed, 05 Jun 2019 22:04:55 -0700
commit

1a6b422b4c4ade66c97d589e8be7306f849fdb05

parent

e34c529f7edda021bcf6121b503eaf2f62eb9481

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

jump to
M CMakeLists.txtCMakeLists.txt

@@ -998,7 +998,7 @@

if(BUILD_LIBRETRO) file(GLOB RETRO_SRC ${CMAKE_CURRENT_SOURCE_DIR}/src/platform/libretro/*.c) add_library(${BINARY_NAME}_libretro SHARED ${CORE_SRC} ${RETRO_SRC}) - add_dependencies(${BINARY_NAME} version-info) + add_dependencies(${BINARY_NAME}_libretro version-info) set_target_properties(${BINARY_NAME}_libretro PROPERTIES PREFIX "" COMPILE_DEFINITIONS "__LIBRETRO__;COLOR_16_BIT;COLOR_5_6_5;DISABLE_THREADING;${OS_DEFINES};${FUNCTION_DEFINES};MINIMAL_CORE=2") target_link_libraries(${BINARY_NAME}_libretro ${OS_LIB}) if(MSVC)