Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/emulators/flycast/files/patch-CMakeLists.txt
16461 views
1
--- CMakeLists.txt.orig 2025-05-07 13:21:40 UTC
2
+++ CMakeLists.txt
3
@@ -1421,8 +1421,7 @@ if(USE_VULKAN)
4
target_compile_definitions(${PROJECT_NAME} PUBLIC VK_USE_PLATFORM_METAL_EXT)
5
endif()
6
7
- add_subdirectory(core/deps/Vulkan-Headers)
8
- target_link_libraries(${PROJECT_NAME} PRIVATE Vulkan::Headers)
9
+ find_package(VulkanHeaders)
10
11
add_subdirectory(core/deps/VulkanMemoryAllocator)
12
target_compile_options(VulkanMemoryAllocator INTERFACE $<$<AND:$<COMPILE_LANGUAGE:CXX>,$<CXX_COMPILER_ID:AppleClang,Clang>>:-Wno-nullability-completeness>)
13
14