File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
2525# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626
27- cmake_minimum_required (VERSION 3.12 )
27+ cmake_minimum_required (VERSION 3.28 )
2828
2929# Choose Python versions by location instead of getting whatever is in PYTHON_EXECUTABLE
3030# Can be removed once we require CMake 3.15
@@ -282,6 +282,9 @@ try_flag(WARNINGS "-Woverloaded-virtual")
282282try_flag (WARNINGS "-Wstrict-null-sentinel" )
283283try_flag (WARNINGS "-W${WARNMODE} sign-compare" )
284284
285+ # Fails CI otherwise due to sseLoadVec3Unsafe()
286+ try_flag (WARNINGS "Wno-array-bounds" )
287+
285288# MSVC /wd = warning disable
286289try_flag (WARNINGS "/wd4127" ) # conditional expression is constant
287290try_flag (WARNINGS "/wd4324" ) # 'XXX': structure was padded due to alignment specifier
Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ else()
255255 endif ()
256256 endif ()
257257
258- if (USE_RECOMMENDED_CXX_STANDARD)
258+ if (USE_RECOMMENDED_CXX_STANDARD AND NOT USE_CPP23 )
259259 # PNaCl only defines isascii if __STRICT_ANSI__ is not defined,
260260 # always prefer GNU dialect.
261261 try_cxx_flag (GNUXX14 "-std=gnu++14" )
You can’t perform that action at this time.
0 commit comments