cmake: prefer system stb headers

This commit is contained in:
Alexandre Bouvier
2023-10-12 16:36:26 +02:00
parent 6eb3a583cb
commit 79ba5d9c26
14 changed files with 10932 additions and 11510 deletions
+5 -1
View File
@@ -168,9 +168,13 @@ if (NOT TARGET LLVM::Demangle)
add_library(LLVM::Demangle ALIAS demangle)
endif()
add_library(stb stb/stb_dxt.cpp stb/stb_image.cpp stb/stb_image_resize.cpp stb/stb_image_write.cpp)
add_library(stb stb/stb_dxt.cpp)
target_include_directories(stb PUBLIC ./stb)
if (NOT TARGET stb::headers)
add_library(stb::headers ALIAS stb)
endif()
add_library(bc_decoder bc_decoder/bc_decoder.cpp)
target_include_directories(bc_decoder PUBLIC ./bc_decoder)
-7529
View File
File diff suppressed because it is too large Load Diff
+7218 -3
View File
File diff suppressed because it is too large Load Diff
-2282
View File
File diff suppressed because it is too large Load Diff
+2211 -3
View File
File diff suppressed because it is too large Load Diff
-1677
View File
File diff suppressed because it is too large Load Diff
+1431 -4
View File
File diff suppressed because it is too large Load Diff