From c7e7a868edf9581d179633a3be142e4abfa479ec Mon Sep 17 00:00:00 2001 From: Leonardo Di Donato Date: Mon, 29 Jul 2019 16:49:07 +0000 Subject: [PATCH] build: set SYSDIG_DIR to its real path Signed-off-by: Leonardo Di Donato --- scripts/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt index fbec666c..7846d1f1 100644 --- a/scripts/CMakeLists.txt +++ b/scripts/CMakeLists.txt @@ -19,7 +19,7 @@ configure_file(debian/postinst.in debian/postinst) configure_file(debian/prerm.in debian/prerm) if(NOT SYSDIG_DIR) - set(SYSDIG_DIR "${PROJECT_SOURCE_DIR}/../sysdig") + get_filename_component(SYSDIG_DIR "${PROJECT_SOURCE_DIR}/../sysdig" REALPATH) endif() file(COPY "${PROJECT_SOURCE_DIR}/scripts/debian/falco"