Hi Stefan,
one solution I can think about is overwriting the install() command
before you traverse into these subdirectories and restoring the
default CMake behavior afterwards, i.e., something like
# overwrite install() command with a dummy macro that is a nop
macro (install)
endmacro ()
#
Hey guys,
I wonder if it's possible to ignore install() commands in projects that
are being built using add_subdirectory().
I've got a project that builds external libraries and links statically
to them, so there's no need to install them in the final step.
A workaround is to remove the files