Skip to content
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: Fix MinGW vulkan.pc #1290

Merged
merged 1 commit into from
Sep 12, 2023
Merged

cmake: Fix MinGW vulkan.pc #1290

merged 1 commit into from
Sep 12, 2023

Conversation

juan-lunarg
Copy link
Contributor

@juan-lunarg juan-lunarg commented Sep 12, 2023

Reverts /pull/670 which produces an invalid .pc file

closes #1278

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build queued with queue ID 41228.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 2154 running.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 2154 passed.

Comment on lines -415 to -416
# Set libdir path as in cmake's FindVulkan.cmake
# https://github.com/KhronosGroup/Vulkan-Loader/issues/668
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At one point FindVulkan.cmake didn't consider MinGW in it's search paths. It now does.
https://gitlab.kitware.com/cmake/cmake/-/merge_requests/8256

@juan-lunarg
Copy link
Contributor Author

@sfan5 please confirm this fixes your issue. I'm sure it will but still I'd like you to test.

@sfan5
Copy link
Contributor

sfan5 commented Sep 12, 2023

Yep, works fine. Thanks for looking into this.

@juan-lunarg
Copy link
Contributor Author

Yep, works fine. Thanks for looking into this.

Great to hear 👍🏾

Reverts /pull/670 which produces an
invalid .pc file

closes #1278
@ci-tester-lunarg
Copy link

CI Vulkan-Loader build queued with queue ID 41258.

@juan-lunarg
Copy link
Contributor Author

Fixed typo in commit message

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 2155 running.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 2155 passed.

@charles-lunarg charles-lunarg merged commit 983016a into KhronosGroup:main Sep 12, 2023
38 checks passed
@juan-lunarg juan-lunarg deleted the juan/fix_mingw_pkg_config branch September 13, 2023 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

libdir in vulkan.pc is wrong when cross-compiled (MinGW)
4 participants