-
Notifications
You must be signed in to change notification settings - Fork 53
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 error: target dependency added via target_include_directories
#16
Comments
Please confirm you can't compile it now (because I can) and provide your system specs: CMake version, OS, Vulkan SDK version, etc. |
CMake import targets are meant to be used with |
See if #18 good enough |
Let me know how you get on with the merge... |
The offending line has been removed in the PR for #21. If it does resolve the issue completely, then this issue should be closed. |
Without further comment on this issue, should it be closed? @Robert42 can reopen it if there's still an issue for him. |
Reopen, in case the issue persists |
In the example's cmake file, there's a line
To my knowledge,
target_include_directories
only allows directory paths and not targets as arguments. I needed to move theVulkan::Vulkan
dependency totarget_link_libraries
in order to be able to compile the samplesThe text was updated successfully, but these errors were encountered: