summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-10-04 13:41:57 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-10-04 13:41:57 +0200
commit0fb7a381a2c42ca0ae860ff6bb6e68342ffbe385 (patch)
tree7dd2331bfd116565d0a82f21e327da2daef1d6e8 /cmake
parent6485d21e4a7ca4f23d68528c9c720e4df1a712a7 (diff)
Include ExternalProject CMake module by default
Change-Id: Icf3929e6f2b0c28d3281ee451527ec1085ac9c7f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/common.cmake3
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})