summaryrefslogtreecommitdiff
path: root/gr-utils/python/modtool/gr-newmod
diff options
context:
space:
mode:
authorMichael Dickens <michael.dickens@ettus.com>2014-09-24 13:56:36 -0400
committerJohnathan Corgan <johnathan@corganlabs.com>2014-10-13 13:41:32 -0700
commita2d11e913729d627d2d55b3857e531af6a81bf43 (patch)
treea401d40c5aa8e740a7d7378381b15a6dca1e39c6 /gr-utils/python/modtool/gr-newmod
parentc7e2ae445f3d0de6859e0267b11ae4230f6ccbdf (diff)
cmake: modtool: make sure our local CMake Modules path comes first.
Diffstat (limited to 'gr-utils/python/modtool/gr-newmod')
-rw-r--r--gr-utils/python/modtool/gr-newmod/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-utils/python/modtool/gr-newmod/CMakeLists.txt b/gr-utils/python/modtool/gr-newmod/CMakeLists.txt
index 2b2cabf465..29fbf8921e 100644
--- a/gr-utils/python/modtool/gr-newmod/CMakeLists.txt
+++ b/gr-utils/python/modtool/gr-newmod/CMakeLists.txt
@@ -32,7 +32,8 @@ if(NOT CMAKE_BUILD_TYPE)
endif(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE} CACHE STRING "")
-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)
########################################################################
# Compiler specific setup