Skip to content

Commit

Permalink
[vcpkg] Don't override pkg-config prefix (microsoft#17205)
Browse files Browse the repository at this point in the history
* Don't override pkg-config prefix

* Rebuild
  • Loading branch information
dg0yt authored Jun 3, 2021
1 parent ba6955d commit 4386dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/cmake/vcpkg_configure_make.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ function(vcpkg_configure_make)
set(_LINK_CONFIG_BACKUP "$ENV{_LINK_}")
set(ENV{_LINK_} "${LINK_ENV_${_VAR_SUFFIX}}")
endif()
set(ENV{PKG_CONFIG} "${PKGCONFIG} --define-variable=prefix=${_VCPKG_INSTALLED}${PATH_SUFFIX_${_buildtype}}")
set(ENV{PKG_CONFIG} "${PKGCONFIG}")

set(_lib_env_vars LIB LIBPATH LIBRARY_PATH LD_LIBRARY_PATH)
foreach(_lib_env_var IN LISTS _lib_env_vars)
Expand Down

0 comments on commit 4386dda

Please sign in to comment.