forked from organicmaps/organicmaps
Merge pull request #11176 from cc-engineering/build_omim.devtoolset-7
[tools] Update build requirements: devtoolset-6 -> devtoolset-7
This commit is contained in:
commit
630a125c26
1 changed files with 5 additions and 0 deletions
|
@ -69,6 +69,11 @@ option(SKIP_DESKTOP "Skip building of desktop application" OFF)
|
|||
option(BUILD_MAPSHOT "Build mapshot tool" OFF)
|
||||
option(USE_PCH "Use precompiled headers" OFF)
|
||||
|
||||
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU" AND
|
||||
CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.0)
|
||||
message(FATAL_ERROR "Minimum supported g++ version is 7.0")
|
||||
endif()
|
||||
|
||||
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
set(PCH_EXTENSION "pch")
|
||||
endif()
|
||||
|
|
Loading…
Add table
Reference in a new issue