[Cmake-commits] CMake branch, next, updated. v2.8.8-3033-gfa209c2
Stephen Kelly
steveire at gmail.com
Wed Jun 6 03:47:22 EDT 2012
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 fa209c2e354965202faa4c994dd271657b6513ba (commit)
via 73d825a73941d1fb498b97203e58a2389eb066b7 (commit)
from b38e1a2a3335aa41a9ab91a1fc0608c2340bad71 (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=fa209c2e354965202faa4c994dd271657b6513ba
commit fa209c2e354965202faa4c994dd271657b6513ba
Merge: b38e1a2 73d825a
Author: Stephen Kelly <steveire at gmail.com>
AuthorDate: Wed Jun 6 03:47:19 2012 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Jun 6 03:47:19 2012 -0400
Merge topic 'position-independent-targets' into next
73d825a Make the version check language specific.
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=73d825a73941d1fb498b97203e58a2389eb066b7
commit 73d825a73941d1fb498b97203e58a2389eb066b7
Author: Stephen Kelly <steveire at gmail.com>
AuthorDate: Wed Jun 6 09:46:00 2012 +0200
Commit: Stephen Kelly <steveire at gmail.com>
CommitDate: Wed Jun 6 09:46:00 2012 +0200
Make the version check language specific.
diff --git a/Modules/Compiler/GNU.cmake b/Modules/Compiler/GNU.cmake
index 2829e8b..6aecf90 100644
--- a/Modules/Compiler/GNU.cmake
+++ b/Modules/Compiler/GNU.cmake
@@ -22,7 +22,7 @@ macro(__compiler_gnu lang)
# Feature flags.
set(CMAKE_${lang}_VERBOSE_FLAG "-v")
set(CMAKE_${lang}_COMPILE_OPTIONS_PIC "-fPIC")
- if(NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 3.4)
+ if(NOT CMAKE_${lang}_COMPILER_VERSION VERSION_LESS 3.4)
set(CMAKE_${lang}_COMPILE_OPTIONS_PIE "-fPIE")
endif()
set(CMAKE_SHARED_LIBRARY_${lang}_FLAGS "-fPIC")
-----------------------------------------------------------------------
Summary of changes:
Modules/Compiler/GNU.cmake | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list