Build: Reduce library scope

This commit is contained in:
Stenzek committed 2023-10-18 00:49:01 +10:00
1 parent 9501439d6b
commit db675cf5d0
2 files changed
+3 -2

No files matched your search

+1
View File
@@ -187,6 +187,7 @@ if(ENABLE_VULKAN)
vulkan_texture.h
)
target_compile_definitions(util PUBLIC "ENABLE_VULKAN=1")
target_link_libraries(util PUBLIC vulkan-headers)
endif()
if(ENABLE_SDL2)