summaryrefslogtreecommitdiff
path: root/cmake/Modules
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2014-07-21 14:26:57 -0400
committerTom Rondeau <tom@trondeau.com>2014-07-21 14:26:57 -0400
commit34bb146a85f2de8f9b491e303d35468d68bddaa3 (patch)
tree8e009ee430b6845ca2049d56dfe90ab66be2ea6f /cmake/Modules
parent8d96b5323271b975c14d59aafb418ededb631a1b (diff)
build: fixed small cmake issue if CMAKE_CURRENT_LIST_DIR is empty to treat it as an empty string.
Diffstat (limited to 'cmake/Modules')
-rw-r--r--cmake/Modules/GnuradioConfig.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/GnuradioConfig.cmake b/cmake/Modules/GnuradioConfig.cmake
index 55c70b374b..96f897830d 100644
--- a/cmake/Modules/GnuradioConfig.cmake
+++ b/cmake/Modules/GnuradioConfig.cmake
@@ -26,7 +26,7 @@ if(NOT GR_REQUIRED_COMPONENTS)
endif()
# Allows us to use all .cmake files in this directory
-list(INSERT CMAKE_MODULE_PATH 0 ${CMAKE_CURRENT_LIST_DIR})
+list(INSERT CMAKE_MODULE_PATH 0 "${CMAKE_CURRENT_LIST_DIR}")
# Easily access all libraries and includes of GNU Radio
set(GNURADIO_ALL_LIBRARIES "")