-
Notifications
You must be signed in to change notification settings - Fork 308
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
Readme's cmake command wont build samples or tests #1674
Comments
It has to be cmake -DVULKAN_HPP_SAMPLES_BUILD=ON \
-DVULKAN_HPP_SAMPLES_BUILD_WITH_LOCAL_VULKAN_HPP=ON \
-DVULKAN_HPP_TESTS_BUILD=ON \
-B build
cmake --build build --parallel Do you want to create a PR to fix the problem? |
I'm getting a error still
|
@tom-huntington It seems, older CMake versions have issues with how we encoded an interface libraries. |
A short question, are you using MacOS or Linux? The last time we had issues with how INTERFACE was handled it was on MacOS. |
WSL. Sorry the error was resolved when I switched my distribution, then forgot about this. I did get another error and hacked the cmake to fix it. |
cmake -DSAMPLES_BUILD_WITH_LOCAL_VULKAN_HPP=ON -DSAMPLES_BUILD=ON -DTESTS_BUILD_WITH_LOCAL_VULKAN_HPP=ON -DTESTS_BUILD=ON -B build
It generates a Makefile for VideoHppGenerator and VulkanHppGenerator but not the samples and tests.
cmake version 3.16.3
The text was updated successfully, but these errors were encountered: