From 36147bd9da852483881206c3cd6d94c2673ea32b Mon Sep 17 00:00:00 2001 From: "A. Maitland Bottoms" Date: Fri, 15 Nov 2019 03:47:23 +0000 Subject: [PATCH] optional-static-apps Gbp-Pq: Name optional-static-apps --- apps/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt index 3b10134..b7f60bf 100644 --- a/apps/CMakeLists.txt +++ b/apps/CMakeLists.txt @@ -40,7 +40,7 @@ add_executable(volk_profile ) -if(ENABLE_STATIC_LIBS) +if(ENABLE_STATIC_LIBS AND ENABLE_STATIC_APPS) target_link_libraries(volk_profile volk_static ${Boost_LIBRARIES}) set_target_properties(volk_profile PROPERTIES LINK_FLAGS "-static") else() @@ -57,7 +57,7 @@ install( add_executable(volk-config-info volk-config-info.cc ${CMAKE_CURRENT_SOURCE_DIR}/volk_option_helpers.cc ) -if(ENABLE_STATIC_LIBS) +if(ENABLE_STATIC_LIBS AND ENABLE_STATIC_APPS) target_link_libraries(volk-config-info volk_static) set_target_properties(volk-config-info PROPERTIES LINK_FLAGS "-static") else() -- 2.30.2