diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-10-04 13:41:57 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-15 18:22:47 +0200 |
commit | 482312d0cd219f52bf4e670944c44fc418321de7 (patch) | |
tree | eaf22be00ac50e4f746f2f633a776e33785b8996 /cmake/common.cmake | |
parent | 309d8ada4309b1e3f35dcc3966bbe9b092df9fab (diff) |
Include ExternalProject CMake module by default
Change-Id: Icf3929e6f2b0c28d3281ee451527ec1085ac9c7f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'cmake/common.cmake')
-rw-r--r-- | cmake/common.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/common.cmake b/cmake/common.cmake index 041bb74..191ef9e 100644 --- a/cmake/common.cmake +++ b/cmake/common.cmake @@ -24,6 +24,9 @@ # Customise your preferences in "./conf.d/cmake/config.cmake" #-------------------------------------------------------------------------- +# Include ExternalProject CMake module by default +include(${CMAKE_ROOT}/Modules/ExternalProject.cmake) + if(DEFINED ENV{SDKTARGETSYSROOT}) file(STRINGS $ENV{SDKTARGETSYSROOT}/usr/include/linux/version.h LINUX_VERSION_CODE_LINE REGEX "LINUX_VERSION_CODE") set(BUILD_ENV_SYSROOT $ENV{SDKTARGETSYSROOT}) |