aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Dickens <michael.dickens@ettus.com>2014-09-03 11:04:25 -0400
committerMartin Braun <martin.braun@ettus.com>2014-10-09 13:25:21 +0200
commita41b6517bec23c73b5c7eadbd133f598f1f32554 (patch)
tree3fe8c3a51e95f649bdef96aa79b6d4b273ad815e
parent15740bcc3b3e1d5adff8c77306d84741a26ebdad (diff)
downloaduhd-a41b6517bec23c73b5c7eadbd133f598f1f32554.tar.gz
uhd-a41b6517bec23c73b5c7eadbd133f598f1f32554.tar.bz2
uhd-a41b6517bec23c73b5c7eadbd133f598f1f32554.zip
cmake: make sure our local CMake Modules path comes first.
-rw-r--r--host/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
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