Skip to content

Commit

Permalink
Fixing github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
khansamad47 committed Dec 31, 2023
1 parent 168b062 commit 37300cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ 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")
add_custom_target(download_roc DEPENDS RocLibrary)
else()
add_custom_target(download_roc) # download_roc an empty target in this case
if(NOT ROC_INCLUDE_DIR STREQUAL "")
get_filename_component(ROC_INCLUDE_DIR "${ROC_INCLUDE_DIR}" ABSOLUTE)
message(STATUS "Using ROC_INCLUDE_DIR - ${ROC_INCLUDE_DIR}")
Expand Down Expand Up @@ -56,7 +58,7 @@ add_executable(rt-tests
tests/test_service_quality.cpp
)

add_dependencies(rt-tests googletest RocLibrary)
add_dependencies(rt-tests googletest download_roc)

find_package(Threads)

Expand Down

0 comments on commit 37300cc

Please sign in to comment.