When including SI with CMAKEs add_subdirectory() all SI files are installed on make install.
Sometimes this is not desired, especially when when add_subdirectory() is called from an application CMAKE project that is using the SI:SI alias. The SI library will directly be compiled into the application and there is no need to install the whole library into the destination directory.
A CMAKE option to prevent installing the SI files in such a case could be useful, such as:
When including SI with CMAKEs
add_subdirectory()
all SI files are installed onmake install
.Sometimes this is not desired, especially when when
add_subdirectory()
is called from an application CMAKE project that is using the SI:SI alias. The SI library will directly be compiled into the application and there is no need to install the whole library into the destination directory.A CMAKE option to prevent installing the SI files in such a case could be useful, such as:
The workaround below shows possible modifications of the CMakeLists.txt when using commenting instead of the proposed CMAKE options: