enable c++17 and do not use c++ extensions
This commit is contained in:
parent
744aa2a76a
commit
07546fe098
1 changed files with 3 additions and 1 deletions
|
@ -45,7 +45,9 @@ option(BUILD_UTILITY_PGSQL2SQLITE "builds the utility program pgsql2sqlite" ON)
|
|||
option(BUILD_UTILITY_SHAPEINDEX "builds the utility program shapeindex" ON)
|
||||
option(BUILD_UTILITY_SVG2PNG "builds the utility program svg2png" ON)
|
||||
|
||||
set(CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
find_package(Boost 1.74 REQUIRED COMPONENTS filesystem system regex program_options)
|
||||
find_package(ICU REQUIRED COMPONENTS uc)
|
||||
|
|
Loading…
Reference in a new issue