From ca63a3c6b32b0c4e5c099b645ff3d51a89212c76 Mon Sep 17 00:00:00 2001 From: Ceriel Jacobs Date: Fri, 25 Nov 2022 10:28:04 +0100 Subject: [PATCH] Propagate DIST to kognac build --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 289b2f30..9a425604 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -95,7 +95,11 @@ ELSE() DOWNLOAD_DIR . SOURCE_DIR trident BUILD_IN_SOURCE 1 - CMAKE_ARGS "-DSPARQL=1" "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}" + IF (DIST) + CMAKE_ARGS "-DDIST=1" "-DSPARQL=1" "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}" + ELSE() + CMAKE_ARGS "-DSPARQL=1" "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}" + ENDIF() INSTALL_COMMAND "" ) ExternalProject_Get_Property(git-trident SOURCE_DIR)