Skip to content

Commit

Permalink
Change max CMake supported version to 3.27
Browse files Browse the repository at this point in the history
This is required to avoid issue found in: emscripten-core/emscripten#22305.
  • Loading branch information
Matt Wheeler committed Nov 15, 2024
1 parent 566ab90 commit b9590b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Works with 3.15 and tested through 3.30
cmake_minimum_required(VERSION 3.15...3.30)
# Works with 3.15 and tested through 3.27
cmake_minimum_required(VERSION 3.15...3.27)

# Project name and a few useful settings. Other commands can pick up the results
project(
Expand Down
2 changes: 1 addition & 1 deletion src/gsmp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set(HEADER_LIST "include/model.h" "include/model_variable.h" "include/variable_manager.h")

# Make an automatic shared library
add_library(GSMP_CPP SHARED src/model.cpp src/model_variable.cpp src/variable_manager.cpp ${HEADER_LIST})
add_library(GSMP_CPP SHARED src/model.cpp src/model_variable.cpp src/variable_manager.cpp ${HEADER_LIST})

# We need this directory, and users of our library will need it too
target_include_directories(GSMP_CPP PUBLIC include)
Expand Down

0 comments on commit b9590b7

Please sign in to comment.