File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 3.5 )
1+ cmake_minimum_required (VERSION 3.10 )
22set (CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR} /cmake" )
33
44project (sally CXX C )
55enable_testing ()
66
7+ # Set CMake policies to suppress warnings
8+ cmake_policy (SET CMP0167 NEW )
9+ cmake_policy (SET CMP0135 NEW )
10+
711set (CMAKE_CXX_STANDARD 23)
812set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Wall" )
913
@@ -111,6 +115,7 @@ ExternalProject_Add(
111115 libantlr3c-3.4
112116 URL "${sally_SOURCE_DIR} /antlr/libantlr3c-3.4.tar.gz"
113117 URL_MD5 08b1420129d5dccd0f4461cedf2a0d7d
118+ DOWNLOAD_EXTRACT_TIMESTAMP TRUE
114119 PATCH_COMMAND chmod -R u+w src include
115120 COMMAND patch -p1 -t -N < "${sally_SOURCE_DIR} /antlr/libantlr3c-3.4.patch"
116121 CONFIGURE_COMMAND <SOURCE_DIR >/configure ${ANTLR_CONFIG_FLAG} --enable-debuginfo --disable-antlrdebug --prefix =<INSTALL_DIR >
You can’t perform that action at this time.
0 commit comments