From fbabbf69a7ce7e88cd846bd52ec857c97e730fad Mon Sep 17 00:00:00 2001 From: dovholuknf <46322585+dovholuknf@users.noreply.github.com> Date: Fri, 6 Nov 2020 15:09:47 -0500 Subject: [PATCH] set only if not alredy set... --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 077b42d3..203567c8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,8 @@ cmake_minimum_required(VERSION 3.12) -set(ZITI_SDK_C_BRANCH "0.17.4") +if(NOT ZITI_SDK_C_BRANCH) + #allow using a different branch of the CSDK easily + set(ZITI_SDK_C_BRANCH "0.17.4") +endif() execute_process( COMMAND git describe --tags --dirty=-local