diff options
author | Fabian Müller <fmueller@owncloud.com> | 2021-04-07 19:15:37 +0300 |
---|---|---|
committer | Fabian Müller <80399010+fmoc@users.noreply.github.com> | 2021-04-08 16:37:31 +0300 |
commit | 8d6e55cd65dc9fbed99229b6b35474d27abfc2a0 (patch) | |
tree | c5cfe8962ab6ae933a9f7384c7c2526adc5134a7 /src/CMakeLists.txt | |
parent | 8e157fafafca840cbb4856ac81c740e77567f4f9 (diff) |
Exclude 3rd party targets from "all"
Makes "make all" runs faster by excluding third-party targets, e.g., tests or libraries, which no other target in the main project links to, from building by default.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1d4a4754e..6d68a2515 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -46,7 +46,7 @@ if (NOT BUILD_LIBRARIES_ONLY) add_subdirectory(cmd) if (WITH_CRASHREPORTER) - add_subdirectory(3rdparty/libcrashreporter-qt) + add_subdirectory(3rdparty/libcrashreporter-qt EXCLUDE_FROM_ALL) add_subdirectory(crashreporter) endif() endif(NOT BUILD_LIBRARIES_ONLY) |