From 0e2e98fc1d0efc20b32e3daa8f4d3943b386615d Mon Sep 17 00:00:00 2001 From: Ziemas Date: Fri, 2 Sep 2022 14:11:24 +0200 Subject: [PATCH] cmake: Exclude unnecessary dep build targets --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2f7ee45a..4a92c3a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -123,18 +123,18 @@ if (ENABLE_CUBEB) option(BUILD_TOOLS "" OFF) option(BUNDLE_SPEEX "" OFF) set(USE_WINMM OFF CACHE BOOL "") - add_subdirectory("dependencies/cubeb") + add_subdirectory("dependencies/cubeb" EXCLUDE_FROM_ALL) set_property(TARGET cubeb PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>") add_library(cubeb::cubeb ALIAS cubeb) endif() add_compile_definitions("HAS_CUBEB=1") endif() -add_subdirectory("dependencies/ih264d") +add_subdirectory("dependencies/ih264d" EXCLUDE_FROM_ALL) find_package(ZArchive) if (NOT ZArchive_FOUND) - add_subdirectory("dependencies/ZArchive") + add_subdirectory("dependencies/ZArchive" EXCLUDE_FROM_ALL) endif() add_subdirectory(src)