Skip to content

Commit 666d460

Browse files
authored
Fix compatibility with C++17, GCC 13 and CMake 4 (satoren#112)
* Update checkout action on GHA CI * Show output on test failure * Fix test compat with C++17 * Add missing header * Disable warning in GCC 13 * Require at least CMake 3.16 Support for < 3.5 was dropped and 3.10 deprecated in CMake 4
1 parent bfad24c commit 666d460

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
set(CMAKE_LEGACY_CYGWIN_WIN32 0)
2-
cmake_minimum_required(VERSION 2.6)
2+
cmake_minimum_required(VERSION 3.16..3.20)
33
project(Kaguya)
44

55
include(cmake/FindLua.cmake)
@@ -111,4 +111,4 @@ endif(EMSCRIPTEN)
111111

112112

113113
enable_testing()
114-
add_subdirectory(test)
114+
add_subdirectory(test)

0 commit comments

Comments
 (0)