fix: SYSDIG_DIR not as an option but as a set

Signed-off-by: Lorenzo Fontana <lo@linux.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
This commit is contained in:
Lorenzo Fontana 2019-06-20 06:36:28 +00:00 committed by poiana
parent 3f200c52b0
commit 147ec6073c

View File

@ -75,7 +75,10 @@ endif()
set(CMD_MAKE make)
option(SYSDIG_DIR “Set the path to the Sysdig source” ${PROJECT_SOURCE_DIR}/../sysdig”)
if(NOT SYSDIG_DIR)
set(SYSDIG_DIR "${PROJECT_SOURCE_DIR}/../sysdig")
endif()
# make luaJIT work on OS X
if(APPLE)