Closed Robert42 closed 3 years ago
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 target_link_libraries
unless newer versions added support for using them target_include_directories
. Vulkan::Vulkan
passed to link libraries call should include the header location just as fine.
See if https://github.com/andy-thomason/Vookoo/pull/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.
Now that the PR for #21 has been merged, I think this issue is also addressed. @Robert42, have you tried it ?
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 samples