Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[clapack] Fix clapack-targets.cmake path in clpack-config.cmake #8191

Merged
merged 1 commit into from
Sep 16, 2019

Conversation

LilyWangL
Copy link
Contributor

When use find_package to link clapack:

find_package(clapack CONFIG REQUIRED)
target_link_libraries(CMakeProject12 PRIVATE f2c lapack)

That gave this error:

1> CMake Error at F:/0906/vcpkg/packages/clapack_x64-windows/share/clapack/clapack-config.cmake:1 (include):
1>   include could not find load file:
1> 
1>     F:/0906/vcpkg/buildtrees/clapack/x64-windows-rel/clapack-targets.cmake
1> Call Stack (most recent call first):
1>   F:/0906/vcpkg/scripts/buildsystems/vcpkg.cmake(256): (_find_package)
1>   C:\Users\vwangli\source\repos\CMakeProject12\CMakeProject12/CMakeLists.txt(12): (find_package)
1> 
1> 
1> -- Configuring incomplete, errors occurred!
1> See also "C:/Users/vwangli/CMakeBuilds/d96af90b-0d7e-3931-b59f-9f529ce8da16/build/x64-Debug/CMakeFiles/CMakeOutput.log".

Related issue: #7081

@LilyWangL LilyWangL added the info:internal This PR or Issue was filed by the vcpkg team. label Sep 16, 2019
@LilyWangL LilyWangL marked this pull request as ready for review September 16, 2019 09:56
@Rastaban Rastaban merged commit 284e92d into microsoft:master Sep 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info:internal This PR or Issue was filed by the vcpkg team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants