[CMake] Ignore install()

Stefan Schindler stefan at boxbox.org
Wed Apr 18 14:12:07 EDT 2012


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 after installing, but I'd rather go
with a "cleaner" solution.

Greetings,
Stefan.


More information about the CMake mailing list