From 36bd85f762c43f1481420d2eb0280e3814385002 Mon Sep 17 00:00:00 2001 From: Amaury Chamayou Date: Tue, 30 Apr 2019 11:30:59 +0100 Subject: [PATCH] Move option switch up --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0c4bf8b939..3f26c99b66 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,6 +49,8 @@ if (RPC_FORWARD_TO_LEADER) set(TEST_FORWARD_TO_LEADER "--leader-forwarding") endif() +option(BUILD_SMALLBANK "Build SmallBank sample app and clients" ON) + # MemberClient executable add_executable(memberclient src/clients/memberclient.cpp) use_client_mbedtls(memberclient) @@ -309,7 +311,6 @@ if(BUILD_TESTS) ${RECOVERY_ARGS} ) - option(BUILD_SMALLBANK "Build SmallBank sample app and clients" ON) if(BUILD_SMALLBANK) include(${CMAKE_CURRENT_SOURCE_DIR}/samples/apps/smallbank/smallbank.cmake) endif()