-
Notifications
You must be signed in to change notification settings - Fork 192
Open
Labels
cmakeRelated to how this library makes use of CMakeRelated to how this library makes use of CMakewslRelated to Windows Subsystem for Linux supportRelated to Windows Subsystem for Linux support
Description
Pkg-config files generated by CMake do not include the stubs:
DirectX-Headers/CMakeLists.txt
Line 96 in 7fc7184
| join_paths(DIRECTX_INCLUDEDIR_FOR_PKG_CONFIG "\${prefix}" "${CMAKE_INSTALL_INCLUDEDIR}") |
To contrast, cflags generated by meson include .../wsl/stubs: Cflags: -I${includedir} -I${includedir} -I${includedir}/wsl/stubs -I${includedir}/directx.
Note that cmake rules do include a conditional target_link_libraries and the generated directx-headers-config.cmake is in fact correct. If only the pkg-config was somehow derived from get_target_property(... DirectX-Headers INTERFACE_INCLUDE_DIRECTORIES) (non-trivial because of generator expressions) the output would've been correct.
Metadata
Metadata
Assignees
Labels
cmakeRelated to how this library makes use of CMakeRelated to how this library makes use of CMakewslRelated to Windows Subsystem for Linux supportRelated to Windows Subsystem for Linux support