PSP2: Move GUI_SRC dependency into ports that use it

This commit is contained in:
Jeffrey Pfau 2015-08-06 00:23:59 -07:00
parent 3d4096c715
commit 74ac89a584
2 changed files with 1 additions and 2 deletions

View File

@ -356,7 +356,6 @@ set(CORE_SRC
${DEBUGGER_SRC}
${RENDERER_SRC}
${SIO_SRC}
${GUI_SRC}
${UTIL_SRC}
${VFS_SRC}
${OS_SRC}

View File

@ -4,7 +4,7 @@ execute_process(COMMAND ${DEVKITARM}/bin/arm-none-eabi-objcopy -I binary -O elf3
set(PLATFORM_LIBRARY -lvita2d -lSceCtrl_stub -lSceRtc_stub -lSceGxm_stub -lSceDisplay_stub -lSceAudio_stub -lpng -lz -lm_stub)
add_executable(${BINARY_NAME}.elf ${PLATFORM_SRC} ${CMAKE_BINARY_DIR}/font.o)
add_executable(${BINARY_NAME}.elf ${PLATFORM_SRC} ${GUI_SRC} ${CMAKE_BINARY_DIR}/font.o)
target_link_libraries(${BINARY_NAME}.elf ${BINARY_NAME} ${PLATFORM_LIBRARY})
set_target_properties(${BINARY_NAME}.elf PROPERTIES OUTPUT_NAME ${BINARY_NAME}.elf)
add_custom_command(TARGET ${BINARY_NAME}.elf POST_BUILD COMMAND ${FIXUP} -q -S ${BINARY_NAME}.elf ${BINARY_NAME}.velf MAIN_DEPENDENCY ${BINARY_NAME}.elf)