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