File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,6 @@ option(SENTRY_WITH_GPU_INFO "Build with GPU information gathering support" ${SEN
103103
104104# GPU info enabled - no longer requires Vulkan SDK (uses headers submodule + dynamic linking)
105105if (SENTRY_WITH_GPU_INFO)
106- add_subdirectory (external/vulkan-headers)
107106 message (STATUS "GPU information gathering enabled (using vulkan-headers submodule)" )
108107endif ()
109108
@@ -588,7 +587,8 @@ endif()
588587
589588# handle Vulkan headers for GPU info
590589if (SENTRY_WITH_GPU_INFO)
591- target_link_libraries (sentry PRIVATE Vulkan::Headers)
590+ target_include_directories (sentry PRIVATE
591+ "$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR} /external/vulkan-headers/include>" )
592592endif ()
593593
594594# apply platform libraries to sentry library
You can’t perform that action at this time.
0 commit comments