diff --git a/cmake/modules/sysdig.cmake b/cmake/modules/sysdig.cmake index 3d850a5b..c06ca541 100644 --- a/cmake/modules/sysdig.cmake +++ b/cmake/modules/sysdig.cmake @@ -17,10 +17,16 @@ set(SYSDIG_CMAKE_WORKING_DIR "${CMAKE_BINARY_DIR}/sysdig-repo") # this needs to be here at the top if(USE_BUNDLED_DEPS) # explicitly force this dependency to use the bundled OpenSSL - set(USE_BUNDLED_OPENSSL ON) + if(NOT MINIMAL_BUILD) + set(USE_BUNDLED_OPENSSL ON) + endif() set(USE_BUNDLED_JQ ON) endif() +if(MINIMAL_BUILD) + set(MUSL_OPTIMIZED_BUILD ON) +endif() + file(MAKE_DIRECTORY ${SYSDIG_CMAKE_WORKING_DIR}) # The sysdig git reference (branch name, commit hash, or tag) To update sysdig version for the next release, change the