[Cmake-commits] CMake branch, next, updated. v2.8.11-2079-g565dc91
Stephen Kelly
steveire at gmail.com
Sun May 19 03:10:35 EDT 2013
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 565dc913be2c11c76462f05c86a43e915f0d6daf (commit)
via 916219f3dc4d3181134d56e412cec6972c4efc7c (commit)
from c52fdca58898269ac82aa82dc331936056715e7e (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=565dc913be2c11c76462f05c86a43e915f0d6daf
commit 565dc913be2c11c76462f05c86a43e915f0d6daf
Merge: c52fdca 916219f
Author: Stephen Kelly <steveire at gmail.com>
AuthorDate: Sun May 19 03:10:33 2013 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Sun May 19 03:10:33 2013 -0400
Merge topic 'generate_export_header-fixes' into next
916219f Use explicit macro args
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=916219f3dc4d3181134d56e412cec6972c4efc7c
commit 916219f3dc4d3181134d56e412cec6972c4efc7c
Author: Stephen Kelly <steveire at gmail.com>
AuthorDate: Sun May 19 09:08:55 2013 +0200
Commit: Stephen Kelly <steveire at gmail.com>
CommitDate: Sun May 19 09:08:55 2013 +0200
Use explicit macro args
diff --git a/Modules/GenerateExportHeader.cmake b/Modules/GenerateExportHeader.cmake
index 0060c41..fdb5653 100644
--- a/Modules/GenerateExportHeader.cmake
+++ b/Modules/GenerateExportHeader.cmake
@@ -161,11 +161,11 @@ macro(_check_compiler_flag)
message(FATAL_ERROR "This module requires at least a C or C++ compiler.")
endif()
endmacro()
-macro(_check_source_compiles)
+macro(_check_source_compiles _CODE _RESULT)
if (CMAKE_CXX_COMPILER_LOADED)
- check_cxx_source_compiles(${ARGN})
+ check_cxx_source_compiles("${_CODE}" ${_RESULT})
elseif(CMAKE_C_COMPILER_LOADED)
- check_c_source_compiles(${ARGN})
+ check_c_source_compiles("${_CODE}" ${_RESULT})
else()
message(FATAL_ERROR "This module requires at least a C or C++ compiler.")
endif()
-----------------------------------------------------------------------
Summary of changes:
Modules/GenerateExportHeader.cmake | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list