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

# canonical-raft
ExternalProject_Add(craft
        GIT_REPOSITORY https://github.com/canonical/raft.git
        GIT_TAG v0.11.2
        SOURCE_DIR "${CMAKE_CONTRIB_DIR}/craft"
H
more  
Hongze Cheng 已提交
7
        BINARY_DIR "${CMAKE_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 ""
)