all repos — mgba @ 5d3669d22f756cd4711dbac6863335e8f74fac8d

mGBA Game Boy Advance Emulator

PSP2: Use pkg-config for real
Jeffrey Pfau jeffrey@endrift.com
Tue, 05 Jan 2016 21:12:00 -0800
commit

5d3669d22f756cd4711dbac6863335e8f74fac8d

parent

bb5e14ea2df872cd2e3f70747a44cd32c82c1196

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

jump to
M src/platform/psp2/CMakeToolchain.vitasdksrc/platform/psp2/CMakeToolchain.vitasdk

@@ -38,7 +38,8 @@ set(CMAKE_FIND_ROOT_PATH ${VITASDK}/arm-vita-eabi;${VITASDK})

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) +set(ENV{PKG_CONFIG_PATH} ${VITASDK}/arm-vita-eabi/lib/pkgconfig) +set(ENV{PKG_CONFIG_LIBDIR} ${VITASDK}/arm-vita-eabi/lib/pkgconfig) set(PSP2 ON) add_definitions(-DPSP2)