diff --git a/CMakeLists.txt b/CMakeLists.txt index 1d6463625..fdf98c26c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,6 +33,10 @@ include(CheckTypeSize) include(CheckCSourceCompiles) include(ConfigSafeGuards) +if(NOT PROJECT_IS_TOP_LEVEL) + set(LIBSRTP_TEST_APPS OFF) +endif() + if(ENABLE_WARNINGS) include(Warnings) endif()