Skip to content

Commit

Permalink
Use local path for the tests to work
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbvll committed Oct 27, 2023
1 parent a1920c2 commit d797e2d
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions examples/quickstart-cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,7 @@ endif()
######################
### FLWR_LIB

FetchContent_Declare(
flwr_repo
GIT_REPOSITORY https://github.com/adap/flower.git
GIT_TAG add-cpp-proto # MUST BE CHANGED TO MAIN
)

FetchContent_GetProperties(flwr_repo)
if(NOT flwr_repo_POPULATED)
FetchContent_Populate(flwr_repo)
endif()

set(FLWR_SOURCE_ROOT "${flwr_repo_SOURCE_DIR}")
set(FLWR_SDK_PATH "${FLWR_SOURCE_ROOT}/src/cc/flwr")
set(FLWR_SDK_PATH "../../src/cc/flwr")

file(GLOB FLWR_SRCS "${FLWR_SDK_PATH}/src/*.cc")
file(GLOB FLWR_PROTO_SRCS "${FLWR_SDK_PATH}/include/flwr/proto/*.cc")
Expand Down

0 comments on commit d797e2d

Please sign in to comment.