remove deprecation warnings

This commit is contained in:
Maximilian Kueffner
2025-08-19 00:02:14 +02:00
parent c280e44a0d
commit 6f83a13b63
+2 -4
View File
@@ -8,14 +8,12 @@ FetchContent_Declare(
if(NOT libCZI_POPULATED)
message(STATUS "Fetching libCZI")
FetchContent_Populate(libCZI)
FetchContent_MakeAvailable(libCZI)
set(LIBCZI_BUILD_CZICMD OFF CACHE BOOL "" FORCE)
set(LIBCZI_BUILD_DYNLIB OFF CACHE BOOL "" FORCE)
set(LIBCZI_BUILD_UNITTESTS OFF CACHE BOOL "" FORCE)
set(LIBCZI_DO_NOT_SET_MSVC_RUNTIME_LIBRARY ON CACHE BOOL "" FORCE)
add_subdirectory(${libczi_SOURCE_DIR} ${libczi_BINARY_DIR})
set(LIBCZI_DO_NOT_SET_MSVC_RUNTIME_LIBRARY ON CACHE BOOL "" FORCE)
endif()
FetchContent_GetProperties(libCZI)