craft_CMakeLists.txt.in 537 字节
Newer Older
M
Minghao Li 已提交
1 2 3 4 5

# canonical-raft
ExternalProject_Add(craft
        GIT_REPOSITORY https://github.com/canonical/raft.git
        GIT_TAG v0.11.2
wafwerar's avatar
wafwerar 已提交
6 7
        SOURCE_DIR "${TD_CONTRIB_DIR}/craft"
        BINARY_DIR "${TD_CONTRIB_DIR}/craft"
M
Minghao Li 已提交
8
        #BUILD_IN_SOURCE TRUE
H
Hongze Cheng 已提交
9 10
        # https://answers.ros.org/question/333125/how-to-include-external-automakeautoconf-projects-into-ament_cmake/
        CONFIGURE_COMMAND COMMAND autoreconf -i COMMAND ./configure --enable-example
M
Minghao Li 已提交
11 12 13 14
        BUILD_COMMAND "$(MAKE)"
        INSTALL_COMMAND ""
        TEST_COMMAND ""
)