From db91e9e7721a05fcd7a4b2cf5f9d4c2486179269 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Mon, 27 Apr 2020 11:07:56 +0200 Subject: [PATCH] cmake: add CMake flag to disable project build when calling make install --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b7f4cca6d..23e1554a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 ########################################################################