From 687cf4f996e4f808133df21ef33939f004cc71a0 Mon Sep 17 00:00:00 2001 From: Martchus Date: Mon, 21 Jun 2021 23:57:58 +0200 Subject: [PATCH] Make inclusion of tabulate project optional --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fa5d086..cf64f89 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,10 @@ project(${META_PROJECT_NAME}) enable_testing() # add subdirectories -add_subdirectory(3rdparty/tabulate) +option(INCLUDE_TABULATE_PROJECT "includes the CMake project of tabulate" OFF) +if (INCLUDE_TABULATE_PROJECT) + add_subdirectory(3rdparty/tabulate) +endif () add_subdirectory(libpkg) link_directories(${LIBPKG_BINARY_DIR}) add_subdirectory(librepomgr)