[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 02/02: build: fixed small cmake issue if CM
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 02/02: build: fixed small cmake issue if CMAKE_CURRENT_LIST_DIR is empty to treat it as an empty string. |
Date: |
Mon, 21 Jul 2014 18:57:06 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
trondeau pushed a commit to branch maint
in repository gnuradio.
commit 34bb146a85f2de8f9b491e303d35468d68bddaa3
Author: Tom Rondeau <address@hidden>
Date: Mon Jul 21 14:26:57 2014 -0400
build: fixed small cmake issue if CMAKE_CURRENT_LIST_DIR is empty to treat
it as an empty string.
---
cmake/Modules/GnuradioConfig.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake/Modules/GnuradioConfig.cmake
b/cmake/Modules/GnuradioConfig.cmake
index 55c70b3..96f8978 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 "")