Skip to content

Commit

Permalink
Renaming ROC branch var and moving to root cmakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
khansamad47 committed Dec 31, 2023
1 parent 7f109ab commit d674cfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ define_option(ROC_LIB_DIR "" STRING "roc toolkit library directory")
define_option(DOWNLOAD_ROC ON BOOL "automatically download and build roc-toolkit")

if(DOWNLOAD_ROC)
define_option(ROC_BRANCH "master" STRING "roc-toolkit branch")
include("cmake/download_roc.cmake")
else()
if(NOT ROC_INCLUDE_DIR STREQUAL "")
Expand Down
3 changes: 1 addition & 2 deletions cmake/download_roc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,10 @@ set(SCONS_CMD
#"STRIP=${CMAKE_STRIP}"
)

define_option(ROC_TOOLKIT_BRANCH "master" STRING "roc-toolkit branch")

ExternalProject_Add(RocLibrary
GIT_REPOSITORY "https://github.com/roc-streaming/roc-toolkit.git"
GIT_TAG origin/${ROC_TOOLKIT_BRANCH}
GIT_TAG origin/${ROC_BRANCH}
SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/roc-src"
INSTALL_DIR "${CMAKE_CURRENT_BINARY_DIR}/roc-prefix"
BUILD_IN_SOURCE ON
Expand Down

0 comments on commit d674cfa

Please sign in to comment.