-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
[vk-bootstrap] Missing import target when building on Linux #22067
Comments
@spnda Thanks for posting this issue. Could you please provide this file:
|
@FrankXie05 I have worked around this in a updated CMakeLists.txt by using vk-bootstrap from a submodule. But this is the older version |
We should fix this issue completely. |
@spnda sorry for the late reply,I checked your
Of course, your solution is to add between paths to the build. This problem can also be solved. :) |
@spnda Is the problem still there? Feel free to re-open if it continues to work. |
Hi, sorry, I missed your previous comment 17 days ago. No, nothing has ever fixed this issue. The target include directories have nothing to do with this. Please re-open this issue, as I can't myself. Take the following CMakeLists.txt as an example: cmake_minimum_required(VERSION 3.21)
project("cmake_test")
add_executable(cmake_test "main.cpp")
find_package(vk-bootstrap CONFIG REQUIRED)
target_link_libraries(cmake_test PUBLIC vk-bootstrap::vk-bootstrap) Using this CMakeLists.txt I still get the following error when running on Ubuntu (WSL in this case). No error on Windows. I am using CMake 3.22.1 on both platforms with vcpkg at master.
|
@spnda confirm |
Seems like this issue still exists:
results in
|
@aaaaaaaaaaargh Please test #32330. |
Host Environment
To Reproduce
This happens when trying to configure a cmake project depending on
vk-bootstrap
while on Linux.Steps to reproduce the behavior:
./vcpkg install vk-bootstrap
mkdir build && cd build
cmake ..
Failure logs
Additional context
I know I made the
vk-bootstrap
port but it seems like it only worked on Windows, even though it's the same CMake project I'm testing right now. I'm no expert in CMake, but this seems like it's a pretty simple fix that I am just missing.The text was updated successfully, but these errors were encountered: