From 147ec6073c98276149ed71bfb0a0d8c9724f397c Mon Sep 17 00:00:00 2001 From: Lorenzo Fontana Date: Thu, 20 Jun 2019 06:36:28 +0000 Subject: [PATCH] fix: SYSDIG_DIR not as an option but as a set Signed-off-by: Lorenzo Fontana Signed-off-by: Leonardo Di Donato --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index af7048f9a0e..41e9f5ad1c6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)