File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,6 @@ jobs:
165165 env :
166166 CC : gcc-12
167167 CXX : g++-12
168- EXTRA_FLAGS : -Wno-stringop-overread
169168 LUA_VERSION : 5.3
170169 LUAJIT_OPTION : ON
171170 POSTGRESQL_VERSION : 13
@@ -262,7 +261,6 @@ jobs:
262261 env :
263262 CC : gcc-12
264263 CXX : g++-12
265- EXTRA_FLAGS : -Wno-stringop-overread
266264 LUA_VERSION : 5.4
267265 LUAJIT_OPTION : ON
268266 POSTGRESQL_VERSION : 16
Original file line number Diff line number Diff line change 2222 POSTGRESQL_VERSION : 16
2323 POSTGIS_VERSION : 3
2424 BUILD_TYPE : Release
25- CXXFLAGS : -pedantic -Wextra -Wno-stringop-overread - Werror
25+ CXXFLAGS : -pedantic -Wextra -Werror
2626 PREFIX : /usr/local
2727 OSMURL : https://download.geofabrik.de/europe/monaco-latest.osm.pbf
2828 OSMFILE : monaco-latest.osm.pbf
Original file line number Diff line number Diff line change @@ -52,6 +52,10 @@ else()
5252 add_compile_options (-Wall)
5353endif ()
5454
55+ if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" )
56+ add_definitions (-Wno-stringop-overread -Wno-maybe-uninitialized)
57+ endif ()
58+
5559option (EXTERNAL_LIBOSMIUM "Do not use the bundled libosmium" OFF )
5660option (EXTERNAL_PROTOZERO "Do not use the bundled protozero" OFF )
5761option (EXTERNAL_FMT "Do not use the bundled fmt" OFF )
@@ -67,7 +71,7 @@ endif()
6771set (MINIMUM_POSTGRESQL_SERVER_VERSION "11" )
6872set (MINIMUM_POSTGRESQL_SERVER_VERSION_NUM "110000" )
6973
70- set (PostgreSQL_ADDITIONAL_VERSIONS "17" "16" "15" "14" "13" "12" "11" )
74+ set (PostgreSQL_ADDITIONAL_VERSIONS "19" "18" " 17" "16" "15" "14" "13" "12" "11" )
7175
7276#############################################################
7377# Version
@@ -196,7 +200,7 @@ endif()
196200
197201find_program (LUA_EXE NAMES lua lua5.4 lua5.3 lua5.2 lua5.1)
198202
199- find_package (Boost 1.50 REQUIRED)
203+ find_package (Boost CONFIG 1.50 REQUIRED)
200204include_directories (SYSTEM ${Boost_INCLUDE_DIR} )
201205
202206find_package (PostgreSQL REQUIRED)
You can’t perform that action at this time.
0 commit comments