[Cmake-commits] CMake branch, next, updated. v2.8.11.1-2798-g0aa4d4d
Stephen Kelly
steveire at gmail.com
Fri Jun 28 08:32:54 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 0aa4d4dd73a924948206e6be27cc197120189608 (commit)
via 4806ffc50e41d1f4cf7d355e4d41d6bf91685f06 (commit)
from cebb7c35d07541155bc06c6b186b230440a50fcf (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=0aa4d4dd73a924948206e6be27cc197120189608
commit 0aa4d4dd73a924948206e6be27cc197120189608
Merge: cebb7c3 4806ffc
Author: Stephen Kelly <steveire at gmail.com>
AuthorDate: Fri Jun 28 08:32:48 2013 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri Jun 28 08:32:48 2013 -0400
Merge topic 'compiler-version-genex' into next
4806ffc Make sure expected versions are defined for all compilers.
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4806ffc50e41d1f4cf7d355e4d41d6bf91685f06
commit 4806ffc50e41d1f4cf7d355e4d41d6bf91685f06
Author: Stephen Kelly <steveire at gmail.com>
AuthorDate: Fri Jun 28 14:32:08 2013 +0200
Commit: Stephen Kelly <steveire at gmail.com>
CommitDate: Fri Jun 28 14:32:08 2013 +0200
Make sure expected versions are defined for all compilers.
diff --git a/Tests/CompileOptions/CMakeLists.txt b/Tests/CompileOptions/CMakeLists.txt
index 8e0d3ee..9b6c9c2 100644
--- a/Tests/CompileOptions/CMakeLists.txt
+++ b/Tests/CompileOptions/CMakeLists.txt
@@ -28,7 +28,11 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
target_compile_definitions(CompileOptions
PRIVATE
"DO_GNU_TESTS"
- "EXPECTED_C_COMPILER_VERSION=\"${CMAKE_C_COMPILER_VERSION}\""
- "EXPECTED_CXX_COMPILER_VERSION=\"${CMAKE_CXX_COMPILER_VERSION}\""
)
endif()
+
+target_compile_definitions(CompileOptions
+ PRIVATE
+ "EXPECTED_C_COMPILER_VERSION=\"${CMAKE_C_COMPILER_VERSION}\""
+ "EXPECTED_CXX_COMPILER_VERSION=\"${CMAKE_CXX_COMPILER_VERSION}\""
+)
-----------------------------------------------------------------------
Summary of changes:
Tests/CompileOptions/CMakeLists.txt | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list