cmake: unbundle stb (#1601)

This commit is contained in:
Alexandre Bouvier 2024-12-05 21:10:27 +00:00 committed by GitHub
parent 642dedea8c
commit 874508f8c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 46 additions and 9 deletions

View file

@ -222,3 +222,10 @@ endif()
# GCN Headers
add_subdirectory(gcn)
# stb
if (NOT TARGET stb::headers)
add_library(stb INTERFACE)
target_include_directories(stb INTERFACE stb)
add_library(stb::headers ALIAS stb)
endif()