Make inclusion of tabulate project optional

This commit is contained in:
Martchus 2021-06-21 23:57:58 +02:00
parent d9203689a0
commit 687cf4f996
1 changed files with 4 additions and 1 deletions

View File

@ -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)