mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-02 06:52:10 +00:00
chore(cmake/modules): refine sysdig cmake for minimal build
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
This commit is contained in:
parent
c46dbc7f11
commit
109efc2799
@ -17,10 +17,16 @@ set(SYSDIG_CMAKE_WORKING_DIR "${CMAKE_BINARY_DIR}/sysdig-repo")
|
|||||||
# this needs to be here at the top
|
# this needs to be here at the top
|
||||||
if(USE_BUNDLED_DEPS)
|
if(USE_BUNDLED_DEPS)
|
||||||
# explicitly force this dependency to use the bundled OpenSSL
|
# 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)
|
set(USE_BUNDLED_JQ ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(MINIMAL_BUILD)
|
||||||
|
set(MUSL_OPTIMIZED_BUILD ON)
|
||||||
|
endif()
|
||||||
|
|
||||||
file(MAKE_DIRECTORY ${SYSDIG_CMAKE_WORKING_DIR})
|
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
|
# The sysdig git reference (branch name, commit hash, or tag) To update sysdig version for the next release, change the
|
||||||
|
Loading…
Reference in New Issue
Block a user