15 lines
419 B
CMake
15 lines
419 B
CMake
include(FetchContent)
|
|
|
|
FetchContent_Declare(
|
|
freedv_backend
|
|
GIT_REPOSITORY https://github.com/tmiw/freedv-backend
|
|
GIT_TAG main
|
|
)
|
|
|
|
FetchContent_MakeAvailable(freedv_backend)
|
|
|
|
# rade_BINARY_DIR is set in freedv_backend but it doesn't propagate upward
|
|
# when using FetchContent. Need to reset it here so that macOS .app generation
|
|
# works properly.
|
|
set(rade_BINARY_DIR ${freedv_backend_BINARY_DIR}/rade_build)
|