From 6b3362a7bd60afea22bf18037ad360d7fb6d3293 Mon Sep 17 00:00:00 2001 From: deniskovalchuk Date: Thu, 14 Sep 2023 02:22:22 +0300 Subject: [PATCH] Check LIBFTP_BUILD_TEST --- app/cmdline/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/cmdline/CMakeLists.txt b/app/cmdline/CMakeLists.txt index 4a073df..6a43bc7 100644 --- a/app/cmdline/CMakeLists.txt +++ b/app/cmdline/CMakeLists.txt @@ -22,4 +22,6 @@ add_executable(cmdline target_link_libraries(cmdline PRIVATE ftp::ftp Boost::boost) target_compile_features(cmdline PRIVATE cxx_std_17) -add_subdirectory(test) \ No newline at end of file +if (LIBFTP_BUILD_TEST) + add_subdirectory(test) +endif() \ No newline at end of file