diff options
-rw-r--r-- | gr-utils/python/modtool/gr-newmod/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gr-utils/python/modtool/gr-newmod/CMakeLists.txt b/gr-utils/python/modtool/gr-newmod/CMakeLists.txt index 677144a984..9f5060e57d 100644 --- a/gr-utils/python/modtool/gr-newmod/CMakeLists.txt +++ b/gr-utils/python/modtool/gr-newmod/CMakeLists.txt @@ -155,6 +155,10 @@ add_subdirectory(docs) ######################################################################## # Install cmake search helper for this library ######################################################################## +if(NOT CMAKE_MODULES_DIR) + set(CMAKE_MODULES_DIR lib${LIB_SUFFIX}/cmake) +endif(NOT CMAKE_MODULES_DIR) + install(FILES cmake/Modules/howtoConfig.cmake - DESTINATION lib/cmake/howto + DESTINATION ${CMAKE_MODULES_DIR}/howto ) |