[Cmake-commits] CMake branch, next, updated. v2.8.5-1707-g72f03e5

Stephen Kelly steveire at gmail.com
Thu Aug 25 12:31:41 EDT 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  72f03e521260d88a9d17a22d9ad3cbfc3233a5f5 (commit)
       via  3449f6b88c0e8b11c13eae78e0932fd3140dfa89 (commit)
      from  60b6b190cb569a18b6cf415d85ff59fa120a1035 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=72f03e521260d88a9d17a22d9ad3cbfc3233a5f5
commit 72f03e521260d88a9d17a22d9ad3cbfc3233a5f5
Merge: 60b6b19 3449f6b
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Thu Aug 25 12:31:36 2011 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Aug 25 12:31:36 2011 -0400

    Merge topic 'generate_export_header' into next
    
    3449f6b Add quotes in case cmake is installed in a prefix with a space.


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3449f6b88c0e8b11c13eae78e0932fd3140dfa89
commit 3449f6b88c0e8b11c13eae78e0932fd3140dfa89
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Thu Aug 25 18:29:26 2011 +0200
Commit:     Stephen Kelly <steveire at gmail.com>
CommitDate: Thu Aug 25 18:30:26 2011 +0200

    Add quotes in case cmake is installed in a prefix with a space.

diff --git a/Modules/GenerateExportHeader.cmake b/Modules/GenerateExportHeader.cmake
index e02811a..8ba26d8 100644
--- a/Modules/GenerateExportHeader.cmake
+++ b/Modules/GenerateExportHeader.cmake
@@ -191,7 +191,7 @@ macro(_test_compiler_has_deprecated)
   endif()
 endmacro()
 
-set(myDir ${CMAKE_CURRENT_LIST_DIR})
+set(myDir "${CMAKE_CURRENT_LIST_DIR}")
 
 macro(_DO_SET_MACRO_VALUES TARGET_LIBRARY)
   set(DEFINE_DEPRECATED)
@@ -284,7 +284,7 @@ macro(_DO_GENERATE_EXPORT_HEADER TARGET_LIBRARY)
     set(EXPORT_IMPORT_CONDITION ${TARGET_LIBRARY}_EXPORTS)
   endif()
 
-  configure_file(${myDir}/exportheader.cmake.in ${EXPORT_FILE_NAME} @ONLY)
+  configure_file("${myDir}/exportheader.cmake.in" "${EXPORT_FILE_NAME}" @ONLY)
 endmacro()
 
 function(GENERATE_EXPORT_HEADER TARGET_LIBRARY)

-----------------------------------------------------------------------

Summary of changes:
 Modules/GenerateExportHeader.cmake |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list