diff --git a/CMakeLists.txt b/CMakeLists.txt index 685ca1b5..88855bc0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -250,13 +250,13 @@ IF(CMAKE_HOST_UNIX AND NOT FORCE_UNSUPPORTED_COMPILER FIND_PROGRAM(ALTERNATIVE_GCC gcc NO_DEFAULT_PATH - PATHS "/opt/rh/devtoolset-8/root/usr/bin") + PATHS "/opt/rh/devtoolset-10/root/usr/bin") FIND_PROGRAM(ALTERNATIVE_GPP g++ NO_DEFAULT_PATH - PATHS "/opt/rh/devtoolset-8/root/usr/bin") + PATHS "/opt/rh/devtoolset-10/root/usr/bin") FIND_PROGRAM(ALTERNATIVE_ENABLE enable NO_DEFAULT_PATH - PATHS "/opt/rh/devtoolset-8/") + PATHS "/opt/rh/devtoolset-10/") IF(ALTERNATIVE_GCC AND ALTERNATIVE_GPP) SET(CMAKE_C_COMPILER ${ALTERNATIVE_GCC}) SET(CMAKE_CXX_COMPILER ${ALTERNATIVE_GPP})