vulkan-performance-layers
vulkan-performance-layers copied to clipboard
Allow to use libc++ in CMake builds
The filesystem library is hardcoded as the libstdc++ one:
set(FILESYSTEM_LIB_NAME stdc++fs)
Hello @kuhar , please may I take this issue ?
@Forchapeatl Sure! Let me know if you have any questions.
Please it seems like there issue was solved 9 days ago. Is there any thing else I could help with?
https://github.com/google/vulkan-performance-layers/blob/1571ee5af43a0a1c71694531777c1179530e0f63/CMakeLists.txt#L25
This part of the CMake file hasn't changed in about a year. Currently, we use stdc++fs unconditionally, even when the prefered one is different (libstd++ vs. libc++).
Related discussion:
- https://gitlab.kitware.com/cmake/cmake/-/issues/17834
- https://discourse.cmake.org/t/find-library-does-not-find-stdc-fs/4764