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.
This commit is contained in:
Ryan Pavlik 2019-12-20 15:23:30 -06:00
parent cb4bc1a68d
commit de704d1909

View File

@ -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)