Merge pull request #2947 from jgoppert/cmake-dl-fix

Fixes cmake uavcan external project for cmake 2.8.12.
This commit is contained in:
Lorenz Meier 2015-10-06 17:43:17 +02:00
commit f1bc33ff73
1 changed files with 1 additions and 0 deletions

View File

@ -74,6 +74,7 @@ px4_join(OUT uavcan_cxx_flags LIST "${uavcan_cxx_flags}" GLUE " ")
externalproject_add(libuavcan
DEPENDS ${uavcan_deps}
DOWNLOAD_COMMAND ""
UPDATE_COMMAND git submodule update --init
SOURCE_DIR ${CMAKE_SOURCE_DIR}/src/lib/uavcan
CMAKE_ARGS -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}