From bcd82b13f4649e57d7d106856aab7b2a6296d728 Mon Sep 17 00:00:00 2001 From: TheCharlatan Date: Thu, 14 Nov 2024 10:58:14 +0100 Subject: [PATCH] Remove pkgconfig from toolchain file --- depends/toolchain.cmake.in | 9 --------- 1 file changed, 9 deletions(-) diff --git a/depends/toolchain.cmake.in b/depends/toolchain.cmake.in index 37a0c670ddf..69ff3cfb74e 100644 --- a/depends/toolchain.cmake.in +++ b/depends/toolchain.cmake.in @@ -87,15 +87,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND NOT CMAKE_HOST_APPLE) set(CMAKE_FRAMEWORK_PATH "@OSX_SDK@/System/Library/Frameworks") endif() - -# Customize pkg-config behaviour. -cmake_path(APPEND CMAKE_FIND_ROOT_PATH "lib" "pkgconfig" OUTPUT_VARIABLE pkg_config_path) -set(ENV{PKG_CONFIG_PATH} ${pkg_config_path}) -set(ENV{PKG_CONFIG_LIBDIR} ${pkg_config_path}) -unset(pkg_config_path) -set(PKG_CONFIG_ARGN --static) - - # Set configuration options for the main build system. set(qt_packages @qt_packages@) if("${qt_packages}" STREQUAL "")