diff --git a/share/toolchain-nxdk.cmake b/share/toolchain-nxdk.cmake index e3d4df8d6..9fc9f1d29 100644 --- a/share/toolchain-nxdk.cmake +++ b/share/toolchain-nxdk.cmake @@ -45,4 +45,4 @@ set(_CMAKE_C_IPO_SUPPORTED_BY_CMAKE YES) set(_CMAKE_C_IPO_MAY_BE_SUPPORTED_BY_COMPILER YES) set(CMAKE_C_COMPILE_OPTIONS_IPO -flto) -SET(PKG_CONFIG_EXECUTABLE "${NXDK_DIR}/bin/nxdk-pkg-config") +set(PKG_CONFIG_EXECUTABLE "${NXDK_DIR}/bin/nxdk-pkg-config" CACHE STRING "Path to pkg-config")