From a41b6517bec23c73b5c7eadbd133f598f1f32554 Mon Sep 17 00:00:00 2001 From: Michael Dickens Date: Wed, 3 Sep 2014 11:04:25 -0400 Subject: cmake: make sure our local CMake Modules path comes first. --- host/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'host/CMakeLists.txt') diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index 706dcee18..b6ea29fc8 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -26,7 +26,9 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6) PROJECT(UHD CXX) ENABLE_TESTING() -LIST(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules) + +#make sure our local CMake Modules path comes first +list(INSERT CMAKE_MODULE_PATH 0 ${CMAKE_SOURCE_DIR}/cmake/Modules) ######################################################################## # Packaging Variables -- cgit v1.2.3