mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-06-29 09:35:56 +02:00
better x11
This commit is contained in:
parent
b7dc4c5e5a
commit
cc8e0a090c
3 changed files with 20 additions and 6 deletions
|
|
@ -344,6 +344,16 @@ target_include_directories(video_core PRIVATE ${HOST_SHADERS_INCLUDE})
|
|||
|
||||
target_link_libraries(video_core PRIVATE sirit::sirit)
|
||||
|
||||
# Since this is also used by header-only whom is public:
|
||||
# a) you must also make it public
|
||||
# b) should precede the headers themselves
|
||||
# must match src/video_core/vulkan_common/vulkan.h logic
|
||||
if (WIN32 OR APPLE OR ANDROID OR PLATFORM_HAIKU OR PLATFORM_PS4)
|
||||
# ...
|
||||
else()
|
||||
target_link_libraries(video_core PUBLIC X11::X11)
|
||||
endif()
|
||||
|
||||
# Header-only stuff needed by all dependent targets
|
||||
target_link_libraries(video_core PUBLIC Vulkan::Headers Vulkan::UtilityHeaders GPUOpen::VulkanMemoryAllocator)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue