add brotli library
This commit is contained in:
1
3rdParty/CMakeLists.txt
vendored
1
3rdParty/CMakeLists.txt
vendored
@@ -36,6 +36,7 @@ add_subdirectory(eastl)
|
||||
add_subdirectory(moodycamel_concurrentqueue)
|
||||
add_subdirectory(tinyusdz)
|
||||
add_subdirectory(dds_image)
|
||||
add_subdirectory(brotli)
|
||||
|
||||
if (NOT IOS AND OPENVULKANO_ENABLE_CURL)
|
||||
add_subdirectory(curl)
|
||||
|
||||
17
3rdParty/brotli/CMakeLists.txt
vendored
Normal file
17
3rdParty/brotli/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
include (FetchContent)
|
||||
|
||||
if(NOT DEFINED BROTLI_REPO)
|
||||
set(BROTLI_REPO https://github.com/google/brotli.git)
|
||||
endif ()
|
||||
|
||||
FetchContent_Declare(
|
||||
brotli
|
||||
GIT_REPOSITORY ${BROTLI_REPO}
|
||||
GIT_TAG v1.1.0
|
||||
GIT_SHALLOW TRUE
|
||||
)
|
||||
|
||||
set(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
|
||||
set(BROTLI_BUILD_TOOLS OFF CACHE BOOL "" FORCE)
|
||||
set(BROTLI_DISABLE_TESTS OFF CACHE BOOL "" FORCE)
|
||||
FetchContent_MakeAvailable(brotli)
|
||||
Reference in New Issue
Block a user