Update dependency management
This commit is contained in:
11
3rdParty/stb/CMakeLists.txt
vendored
Normal file
11
3rdParty/stb/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
include(FetchContent)
|
||||
|
||||
FetchContent_Declare(
|
||||
stb
|
||||
GIT_REPOSITORY https://github.com/nothings/stb.git
|
||||
GIT_SHALLOW TRUE
|
||||
)
|
||||
FetchContent_MakeAvailable(stb)
|
||||
|
||||
add_library(stb INTERFACE)
|
||||
target_include_directories(stb INTERFACE ${stb_SOURCE_DIR})
|
||||
Reference in New Issue
Block a user