DDS library + ImageLoaderDds
This commit is contained in:
3
3rdParty/CMakeLists.txt
vendored
3
3rdParty/CMakeLists.txt
vendored
@@ -42,4 +42,5 @@ if(ENABLE_TEST)
|
||||
endif()
|
||||
|
||||
add_subdirectory(tinyusdz)
|
||||
add_subdirectory(ktx-software)
|
||||
add_subdirectory(ktx-software)
|
||||
add_subdirectory(dds_image)
|
||||
15
3rdParty/dds_image/CMakeLists.txt
vendored
Normal file
15
3rdParty/dds_image/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
include(FetchContent)
|
||||
|
||||
if(NOT DEFINED DDS_IMAGE_REPO)
|
||||
set(DDS_IMAGE_REPO https://github.com/spnda/dds_image.git)
|
||||
endif ()
|
||||
|
||||
FetchContent_Declare(
|
||||
dds_image
|
||||
EXCLUDE_FROM_ALL
|
||||
GIT_REPOSITORY ${DDS_IMAGE_REPO}
|
||||
GIT_TAG main
|
||||
GIT_SHALLOW TRUE
|
||||
)
|
||||
|
||||
FetchContent_MakeAvailable(dds_image)
|
||||
Reference in New Issue
Block a user