-
Notifications
You must be signed in to change notification settings - Fork 7.5k
[lapack] build failure - pkgconfig undefined prefix variable #12911
Description
Host Environment
- OS: Windows 10
- vcpkg: 2020.06.15-nohash
To Reproduce
Steps to reproduce the behavior:
vcpkg.exe install lapack-reference[cblas] --triplet x64-windows
CMake Error at scripts/cmake/vcpkg_fixup_pkgconfig.cmake:84 (message):
pkg-config error output:Variable 'prefix' not defined in
'/D/git/vcpkg/packages/lapack-reference_x64-windows/lib/pkgconfig/cblas.pc'
Call Stack (most recent call first):
scripts/cmake/vcpkg_fixup_pkgconfig.cmake:316 (vcpkg_fixup_pkgconfig_check_files)
ports/lapack-reference/portfile.cmake:94 (vcpkg_fixup_pkgconfig)
scripts/ports.cmake:79 (include)
Error: Building package lapack-reference:x64-windows failed with: BUILD_FAILED
Looks like prefix is not defined at the top of the pkgconfig file for lapack, however it is for cblas. Is there a way to pass it through, or a bug in the pkgconfig file?