Unverified Commit 882f94e7 authored by Savici, Andrei T's avatar Savici, Andrei T Committed by GitHub
Browse files

Merge pull request #23696 from mantidproject/23606-conda

enable conda build using anaconda gcc
parents a379afc9 120b8911
...@@ -22,7 +22,7 @@ if ( CMAKE_COMPILER_IS_GNUCXX ) ...@@ -22,7 +22,7 @@ if ( CMAKE_COMPILER_IS_GNUCXX )
endif() endif()
set( GCC_COMPILER_VERSION ${CMAKE_CXX_COMPILER_VERSION} CACHE INTERNAL "") set( GCC_COMPILER_VERSION ${CMAKE_CXX_COMPILER_VERSION} CACHE INTERNAL "")
message( STATUS "gcc version: ${GCC_COMPILER_VERSION}" ) message( STATUS "gcc version: ${GCC_COMPILER_VERSION}" )
if ( GCC_COMPILER_VERSION VERSION_LESS "5.1.0" ) if ( NOT (GCC_COMPILER_VERSION VERSION_LESS "5.1.0") )
# Add an option to use the old C++ ABI if gcc is 5 series # Add an option to use the old C++ ABI if gcc is 5 series
option ( USE_CXX98_ABI "If enabled, sets the _GLIBCXX_USE_CXX11_ABI=0 compiler flag" OFF) option ( USE_CXX98_ABI "If enabled, sets the _GLIBCXX_USE_CXX11_ABI=0 compiler flag" OFF)
if ( USE_CXX98_ABI ) if ( USE_CXX98_ABI )
......
Supports Markdown
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