Atomic woes, megalinter, and batches (#13)
* fix libCZI dependency w/ atomic woes * add megalinter * fix megalinter triggers * use correct flavor * build status in readme * clang-format * megalinter batch * disable suggestions set libCZI options before fetching Set compile definitions for static libCZI
This commit is contained in:
committed by
Maximilian Kueffner
parent
b1923a490c
commit
d6a08f7db3
+8
-6
@@ -8,13 +8,15 @@ FetchContent_Declare(
|
||||
|
||||
if(NOT libCZI_POPULATED)
|
||||
message(STATUS "Fetching 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_BUILD_PREFER_EXTERNALPACKAGE_RAPIDJSON OFF CACHE BOOL "" FORCE)
|
||||
set(LIBCZI_DO_NOT_SET_MSVC_RUNTIME_LIBRARY ON CACHE BOOL "" FORCE)
|
||||
set(LIBCZI_BUILD_CZICMD OFF CACHE BOOL "Don't build commandline libCZI." FORCE)
|
||||
set(LIBCZI_BUILD_DYNLIB OFF CACHE BOOL "Don't build libCZI as a shared library." FORCE)
|
||||
set(LIBCZI_BUILD_UNITTESTS OFF CACHE BOOL "Don't build libCZI unit tests." FORCE)
|
||||
set(LIBCZI_BUILD_PREFER_EXTERNALPACKAGE_RAPIDJSON OFF CACHE BOOL "Use internal rapidjson." FORCE)
|
||||
set(LIBCZI_DO_NOT_SET_MSVC_RUNTIME_LIBRARY ON CACHE BOOL "Consumer sets the runtime." FORCE)
|
||||
set(ADDITIONAL_LIBS_REQUIRED_FOR_ATOMIC "" CACHE STRING "Additional atomic libs included." FORCE)
|
||||
|
||||
FetchContent_MakeAvailable(libCZI)
|
||||
endif()
|
||||
|
||||
FetchContent_GetProperties(libCZI)
|
||||
|
||||
Reference in New Issue
Block a user