From 5d3669d22f756cd4711dbac6863335e8f74fac8d Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Tue, 5 Jan 2016 21:12:00 -0800 Subject: [PATCH] PSP2: Use pkg-config for real --- src/platform/psp2/CMakeToolchain.vitasdk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/platform/psp2/CMakeToolchain.vitasdk b/src/platform/psp2/CMakeToolchain.vitasdk index 4921b04a1..9bcc23bab 100644 --- a/src/platform/psp2/CMakeToolchain.vitasdk +++ b/src/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)