Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ endif()

# Workaround AppleClang using the wrong headers when there are headers in /usr/local/include
if (CMAKE_C_COMPILER_ID STREQUAL AppleClang AND TARGET Vulkan::Headers AND CMAKE_VERSION VERSION_GREATER_EQUAL 3.25)
set_target_properties(Vulkan::Headers PROPERTIES SYSTEM OFF)
get_target_property(vulkan_headers_aliased Vulkan::Headers ALIASED_TARGET)
if (NOT vulkan_headers_aliased)
set_target_properties(Vulkan::Headers PROPERTIES SYSTEM OFF)
endif()
endif()

include(GNUInstallDirs)
Expand Down
Loading