For example when installing a shared library, using date as a private dependency, we don't want to install date.
A new option should be introduced ENABLE_DATE_INSTALL to match project convention, or DATE_ENABLE_INSTALL to match cmake project conventions.
Would you consider such PR? Make ENABLE_DATE_INSTALL default to ON shouldn't change any behavior, and it would give users using date with add_subdirectory to opt-out of install.
Hi, thanks for the great work!
It would be very nice to make this part optional: https://github.com/HowardHinnant/date/blob/22ceabf205d8d678710a43154da5a06b701c5830/CMakeLists.txt#L161-L202
For example when installing a shared library, using
date
as a private dependency, we don't want to installdate
. A new option should be introducedENABLE_DATE_INSTALL
to match project convention, orDATE_ENABLE_INSTALL
to match cmake project conventions.Would you consider such PR? Make
ENABLE_DATE_INSTALL
default toON
shouldn't change any behavior, and it would give users usingdate
withadd_subdirectory
to opt-out of install.Have a nice day.