OpenXLSX icon indicating copy to clipboard operation
OpenXLSX copied to clipboard

Do not build optional targets when used with `add_subdirectory()`

Open LucasChollet opened this issue 3 years ago • 0 comments

This patch disables the build of documentation, samples, tests and benchmarks when used as a library with add_subdirectory(). It changes the default behavior, but the option can still be overridden.

Edit: I also added the same behavior for installation

LucasChollet avatar Jul 28 '22 11:07 LucasChollet