-
-
Notifications
You must be signed in to change notification settings - Fork 448
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
CMake can't find HPXCacheVariables.cmake #5774
Comments
@karlfroldan thanks for reporting! We'll have a look as quickly as possible. |
@karlfroldan Thanks for the notice! Seems like a bug and we will take actions to fix it ASAP. For the moment could you please try deleting #L96 from this file: The line is: You will need to remove HPX and reinstall it with vcpkg after that. Please tell us how it went. |
@gonidelis Hi, this resolved the issue and CMake generated the Makefile correctly. Thank you! |
FWIW, we're working on getting this resolved here: microsoft/vcpkg#23042 |
The file was removed because it contained absolute paths and absolute paths are forbidden because ports must be relocatable because of binary caching. The following absolute paths are in the file: set(HPX_BINARY_DIR C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/hpx/x64-windows-rel)
set(HPX_SOURCE_DIR C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/hpx/src/1.7.1-1f0e7f19f4.clean) |
- this is in support of STEllAR-GROUP#5774
This issue has been resolved. The fix will be merged to the vcpkg repository (see microsoft/vcpkg#23042). |
Expected Behavior
CMake should be able to find
HPXCacheVariables.cmake
as listed inHPXConfig.cmake
.Actual Behavior
Error during generating Makefile with cmake with the following message:
Furthermore,
HPXCacheVariables.cmake
is not located in/path/to/vcpkg/installed/x64-linux/share/hpx
which I believe is the root of the problem.Steps to Reproduce the Problem
Installed HPX Using VCPKG and created a blank C++ project with a blank
Main.cpp
and aCMakeLists.txt
containingRun with
cmake -DCMAKE_TOOLCHAIN_FILE=/path/to/vcpkg/toolchain ..
Specifications
... Please describe your environment
The text was updated successfully, but these errors were encountered: