diff --git a/maxutils/maxbase/src/CMakeLists.txt b/maxutils/maxbase/src/CMakeLists.txt index 26dba3e0f..a3a820e10 100644 --- a/maxutils/maxbase/src/CMakeLists.txt +++ b/maxutils/maxbase/src/CMakeLists.txt @@ -26,4 +26,6 @@ endif() set_target_properties(maxbase PROPERTIES VERSION "1.0.0" LINK_FLAGS -Wl,-z,defs) target_link_libraries(maxbase ${CURL_LIBRARIES} ${PAM_LIBRARIES}) -add_subdirectory(test) +if (BUILD_TESTS) + add_subdirectory(test) +endif() \ No newline at end of file