all repos — mgba @ 00aa6476c885fa66e9621960fc9555533ed19bcd

mGBA Game Boy Advance Emulator

CMake: Fix rebuilding dkp ports
Vicki Pfau vi@endrift.com
Thu, 28 May 2020 21:51:54 -0700
commit

00aa6476c885fa66e9621960fc9555533ed19bcd

parent

d243e93c15133bc25969dc35d5cd0929eccfb46b

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

jump to
M src/platform/cmake/devkitPro.cmakesrc/platform/cmake/devkitPro.cmake

@@ -8,12 +8,13 @@ set(CMAKE_SYSTEM_NAME Generic CACHE INTERNAL "system name")

function(create_devkit DEVKIT) if(DEFINED ENV{DEVKIT${DEVKIT}}) - set(DEVKIT${DEVKIT} $ENV{DEVKIT${DEVKIT}} PARENT_SCOPE) + set(DEVKIT${DEVKIT} $ENV{DEVKIT${DEVKIT}}) else() - set(DEVKIT${DEVKIT} ${DEVKITPRO}/devkit${DEVKIT} PARENT_SCOPE) + set(DEVKIT${DEVKIT} ${DEVKITPRO}/devkit${DEVKIT}) endif() + set(DEVKIT${DEVKIT} "${DEVKIT${DEVKIT}}" PARENT_SCOPE) - set(CMAKE_PROGRAM_PATH ${DEVKIT${DEVKIT}}/bin CACHE INTERNAL "program path") + set(CMAKE_PROGRAM_PATH "${DEVKIT${DEVKIT}}/bin" CACHE INTERNAL "program path") set(cross_prefix_path "${CMAKE_PROGRAM_PATH}/${cross_prefix}") set(cross_prefix_path "${cross_prefix_path}" PARENT_SCOPE)

@@ -40,4 +41,4 @@ set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER CACHE INTERNAL "")

set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY CACHE INTERNAL "") set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY CACHE INTERNAL "") set(PKG_CONFIG_EXECUTABLE "/dev/null" CACHE INTERNAL "" FORCE) -endfunction()+endfunction()