Skip to content

Commit

Permalink
Merge pull request #61 from openziti/allow-easy-csdk-override
Browse files Browse the repository at this point in the history
Allow easy csdk override
  • Loading branch information
dovholuknf authored Nov 6, 2020
2 parents 8f6e9ef + fbabbf6 commit 0a61992
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
cmake_minimum_required(VERSION 3.12)
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
OUTPUT_VARIABLE GIT_VERSION
Expand Down
2 changes: 1 addition & 1 deletion deps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include(FetchContent)

FetchContent_Declare(ziti-sdk-c
GIT_REPOSITORY https://github.com/openziti/ziti-sdk-c.git
GIT_TAG 0.17.2
GIT_TAG ${ZITI_SDK_C_BRANCH}
)
set(ZITI_BUILD_TESTS off)
set(ZITI_BUILD_PROGRAMS off)
Expand Down

0 comments on commit 0a61992

Please sign in to comment.