diff options
author | Michael Dickens <michael.dickens@ettus.com> | 2014-09-24 13:56:36 -0400 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2014-10-13 13:41:32 -0700 |
commit | a2d11e913729d627d2d55b3857e531af6a81bf43 (patch) | |
tree | a401d40c5aa8e740a7d7378381b15a6dca1e39c6 /gr-utils/python/modtool/gr-newmod | |
parent | c7e2ae445f3d0de6859e0267b11ae4230f6ccbdf (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.txt | 3 |
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 |