cmake: add CMake flag to disable project build when calling make install

This commit is contained in:
Andre Puschmann 2020-04-27 11:07:56 +02:00
parent 3aa0179caf
commit db91e9e772
1 changed files with 3 additions and 0 deletions

View File

@ -301,6 +301,9 @@ configure_file(
)
install(PROGRAMS ${CMAKE_BINARY_DIR}/srslte_install_configs.sh DESTINATION ${RUNTIME_DIR})
# Disables the project to build when calling "make install"
set(CMAKE_SKIP_INSTALL_ALL_DEPENDENCY TRUE)
########################################################################
# Compiler specific setup
########################################################################