remove deprecation warnings
This commit is contained in:
+2
-4
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user