install(TARGETS): Add "." as the default BUNDLE destination
The install(TARGETS)
subcommand has supported a default DESTINATION
for RUNTIME
, LIBRARY
, ARCHIVE
, PUBLIC_HEADER
and PRIVATE_HEADER
since CMake 3.14. I'd like to propose we add "." as a default DESTINATION
for BUNDLE
, which would simplify a relatively common case for projects that do install BUNDLE targets.
Adding this default shouldn't introduce any breaking change. It would currently be an error not to specify a DESTINATION when installing a BUNDLE target.