From de704d1909c3cbacb58ecc53a647ca80d74f538a Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Fri, 20 Dec 2019 15:23:30 -0600 Subject: [PATCH] cmake: Clean up sample installs and disable by default. The readme in that directory says they're for "internal testing use" suggesting they shouldn't be in normal install packages. --- src/CMakeLists.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 66c1334a0..e7218bf88 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -103,11 +103,12 @@ else() endif() option(INSTALL_SAMPLE_MESHES - "Should the sample meshes in src/distrib/samples be installed? It will increase the build size in 14 Mb." - ON) -option(INSTALL_SAMPLE_RANGEMAPS - "Should the sample rangemaps in src/distrib/samples/rangemaps be installed? It will increase the build size in 67 Mb." + "Should the sample meshes in src/distrib/samples be installed? It will increase the installed size by 14 MiB." OFF) +option( + INSTALL_SAMPLE_RANGEMAPS + "Should the sample rangemaps in src/distrib/samples/rangemaps be installed? It will increase the installed size by 67 MiB." + OFF) ### Settings needed for both "external" and internal code set(CMAKE_POSITION_INDEPENDENT_CODE ON)