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)