bug #967: Automatically add cxx11 suffix when building in C++11 mode

This commit is contained in:
Christoph Hertzberg 2015-02-28 14:52:26 +01:00
parent 9aee1e300a
commit 0f82a1d7b7

View File

@ -502,6 +502,10 @@ macro(ei_set_build_string)
set(TMP_BUILD_STRING ${TMP_BUILD_STRING}-64bit)
endif()
if(EIGEN_TEST_CXX11)
set(TMP_BUILD_STRING ${TMP_BUILD_STRING}-cxx11)
endif()
if(EIGEN_BUILD_STRING_SUFFIX)
set(TMP_BUILD_STRING ${TMP_BUILD_STRING}-${EIGEN_BUILD_STRING_SUFFIX})
endif()