1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-24 16:55:15 +03:00
edgetx/cmake/FetchMaxLibQt.cmake
Neil Horne a891c5e907
chore(cpn): Fetch maxlibqt from forked repo at compile time (#4249)
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
2023-10-27 18:31:17 +10:00

17 lines
398 B
CMake

# Fetch maxLibQt source code from Github
include(FetchContent)
FetchContent_Declare(
maxLibQt
GIT_REPOSITORY https://github.com/edgetx/maxLibQt
GIT_TAG b5418f76cc4891e09f4e21276175d39dbb130f66
)
FetchContent_MakeAvailable(maxLibQt)
message("Fetched maxLibQt source code from Github: ${maxLibQt_SOURCE_DIR}")
include_directories(
${maxLibQt_SOURCE_DIR}
${maxLibQt_BINARY_DIR}
)