wut.toolchain.cmake: Set pkg-config executable to dkp-libs/wiiu-pkg-config

This commit is contained in:
Ash Logan 2020-04-09 10:59:22 +10:00
parent 0fdbf66470
commit 586c65b2d7

View File

@ -37,6 +37,9 @@ set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
# Set pkg-config for the same
set(PKG_CONFIG_EXECUTABLE "${DEVKITPRO}/portlibs/wiiu/bin/powerpc-eabi-pkg-config")
# Find compilers
find_program(DEVKITPPC_GCC NAMES powerpc-eabi-gcc HINTS "${DEVKITPPC}/bin")
if(NOT DEVKITPPC_GCC)