Merge branch 'master' of git.madvoxel.net:OpenVulkano/OpenVulkano

This commit is contained in:
Georg Hagen
2024-12-10 23:01:51 +01:00
9 changed files with 390 additions and 2 deletions

View File

@@ -42,4 +42,6 @@ if(ENABLE_TEST)
add_subdirectory(catch2)
endif()
add_subdirectory(tinyusdz)
add_subdirectory(tinyusdz)
add_subdirectory(ktx-software)
add_subdirectory(dds_image)

15
3rdParty/dds_image/CMakeLists.txt vendored Normal file
View 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)

20
3rdParty/ktx-software/CMakeLists.txt vendored Normal file
View File

@@ -0,0 +1,20 @@
include(FetchContent)
if(NOT DEFINED KTX_REPO)
set(KTX_REPO https://github.com/KhronosGroup/KTX-Software.git)
endif ()
FetchContent_Declare(
ktx
EXCLUDE_FROM_ALL
GIT_REPOSITORY ${KTX_REPO}
GIT_TAG v4.3.2
GIT_SHALLOW TRUE
)
set(LIB_TYPE_DEFAULT OFF CACHE BOOL "" FORCE)
set(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
set(BASISU_SUPPORT_SSE OFF CACHE BOOL "" FORCE)
set(KTX_FEATURE_STATIC_LIBRARY ON CACHE BOOL "" FORCE)
FetchContent_MakeAvailable(ktx)