aboutsummaryrefslogtreecommitdiff
path: root/cmake/GlobalConfig.cmake
diff options
context:
space:
mode:
authorDerek Lamberti <derek.lamberti@arm.com>2020-08-25 13:05:59 +0100
committerDerek Lamberti <derek.lamberti@arm.com>2020-08-27 13:57:27 +0000
commiteac4adb5bf493ba7d1b00ef6ecd6b56a42ea3f3d (patch)
treec95267339cabe7ff2b95ef93b53bc27857cc0ab0 /cmake/GlobalConfig.cmake
parent43528ac476836b225b076fbced7a73a8c87e277c (diff)
downloadarmnn-eac4adb5bf493ba7d1b00ef6ecd6b56a42ea3f3d.tar.gz
Export Armnn cmake
Change-Id: I3c317e835aba5feafda240393ca26b6aebe8d655 Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
Diffstat (limited to 'cmake/GlobalConfig.cmake')
-rw-r--r--cmake/GlobalConfig.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/GlobalConfig.cmake b/cmake/GlobalConfig.cmake
index b093e5d527..cc44efdd0b 100644
--- a/cmake/GlobalConfig.cmake
+++ b/cmake/GlobalConfig.cmake
@@ -123,6 +123,8 @@ endif()
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules ${CMAKE_MODULE_PATH})
+include(CMakeFindDependencyMacro)
+
if (NOT BUILD_PIPE_ONLY)
# Boost
message(STATUS "Finding Boost")
@@ -151,7 +153,7 @@ if (NOT BUILD_PIPE_ONLY)
endif()
# pthread
-find_package (Threads)
+find_dependency(Threads)
# Favour the protobuf passed on command line
if(BUILD_TF_PARSER OR BUILD_CAFFE_PARSER OR BUILD_ONNX_PARSER)