From bed6f32c7a79ae84a8794241f240216b7bf321a3 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Tue, 6 Apr 2021 12:36:13 +1200 Subject: [PATCH] Don't include nitpick in OSX client-only build --- tools/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 4def31c85b..5de2f6fdf8 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -38,7 +38,10 @@ if (BUILD_TOOLS) # Allow different tools for stable builds if (STABLE_BUILD) else() - list(APPEND ALL_TOOLS nitpick) + # Don't include nitpick in OSX client-only DMGs. + if (NOT APPLE OR NOT CLIENT_ONLY) + list(APPEND ALL_TOOLS nitpick) + endif() endif() foreach(TOOL ${ALL_TOOLS})