Commit a17e8a0c authored by pieper's avatar pieper
Browse files

COMP: revert to use of CMake 2.8 and STYLE: remove diag message

git-svn-id: http://svn.slicer.org/Slicer4/trunk@15675 3bd1e089-480b-0410-8dfb-8563597acbee
parent 7df22c94
#-----------------------------------------------------------------------------
cmake_minimum_required(VERSION 2.8.3)
cmake_minimum_required(VERSION 2.8)
#-----------------------------------------------------------------------------
PROJECT(Slicer)
......@@ -205,7 +205,6 @@ IF(CMAKE_COMPILER_IS_GNUCXX)
# With older version of gcc supporting the flag -fstack-protector-all, an extra dependency to libssp.so
# is introduced. If gcc is smaller than 4.4.0 and the build type is Release let's not include the flag.
# Doing so should allow to build package made for distribution using older linux distro.
message("GCC_VERSION ${GCC_VERSION}")
IF(GCC_VERSION VERSION_GREATER "4.4.0" OR (CMAKE_BUILD_TYPE STREQUAL "Debug" AND GCC_VERSION VERSION_LESS "4.4.0"))
SlicerFunctionCheckCompilerFlags("-fstack-protector-all" cflags)
ENDIF()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment