Vulkan: Refactor (pkgconfig -> pkg-config)

Use pkg-config rather than pkgconfig
This commit is contained in:
Sean D Gillespie 2022-05-03 21:48:04 -04:00
parent ccb9c0e537
commit a656052b5d
No known key found for this signature in database
GPG Key ID: 8ABB4D9BC34A0C91
2 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,7 @@
, stdenv
, fetchFromGitHub
, cmake
, pkgconfig
, pkg-config
, glslang
, libffi
, libX11
@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
cmake
pkgconfig
pkg-config
];
buildInputs = [
@ -65,7 +65,7 @@ stdenv.mkDerivation rec {
"-DSPIRV_HEADERS_INSTALL_DIR=${spirv-headers}"
"-DROBIN_HOOD_HASHING_INSTALL_DIR=${robin-hood-hashing}"
"-DBUILD_LAYER_SUPPORT_FILES=ON"
"-DPKG_CONFIG_EXECUTABLE=${pkgconfig}/bin/pkg-config"
"-DPKG_CONFIG_EXECUTABLE=${pkg-config}/bin/pkg-config"
# Hide dev warnings that are useless for packaging
"-Wno-dev"
];

View File

@ -2,7 +2,7 @@
, stdenv
, fetchFromGitHub
, cmake
, pkgconfig
, pkg-config
, glslang
, libffi
, libX11
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
cmake
pkgconfig
pkg-config
];
buildInputs = [
@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
"-DBUILD_ICD=OFF"
# vulkaninfo loads libvulkan using dlopen, so we have to add it manually to RPATH
"-DCMAKE_INSTALL_RPATH=${libraryPath}"
"-DPKG_CONFIG_EXECUTABLE=${pkgconfig}/bin/pkg-config"
"-DPKG_CONFIG_EXECUTABLE=${pkg-config}/bin/pkg-config"
# Hide dev warnings that are useless for packaging
"-Wno-dev"
];