CPack: Exclude INSTALL commands from subdirectory (googletest directory)

So there is the macro option @Tsyvarev mentioned that was originally suggested here: # overwrite install() command with a dummy macro that is a nop macro (install) endmacro () # configure build system for external libraries add_subdirectory(external) # replace install macro by one which simply invokes the CMake install() function with the given arguments macro … Read more