Skip to content

Commit

Permalink
Merge branch 'fix_2476' into fix_reservedsyms
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Jul 8, 2024
2 parents c2caa45 + 03bcf13 commit 3d7a0ca
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ cmake_policy(VERSION 3.15...3.27)
if(POLICY CMP0144)
cmake_policy(SET CMP0144 NEW)
endif(POLICY CMP0144)
# cmake >= 3.30
if(POLICY CMP0167)
cmake_policy(SET CMP0167 NEW)
endif(POLICY CMP0167)

project(amici)

Expand Down
11 changes: 11 additions & 0 deletions swig/CMakeLists_model.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
cmake_minimum_required(VERSION 3.15)
cmake_policy(VERSION 3.15...3.27)

# cmake >=3.27
if(POLICY CMP0144)
cmake_policy(SET CMP0144 NEW)
endif(POLICY CMP0144)
# cmake >= 3.30
if(POLICY CMP0167)
cmake_policy(SET CMP0167 NEW)
endif(POLICY CMP0167)


if(DEFINED ENV{SWIG})
set(SWIG_EXECUTABLE $ENV{SWIG})
Expand Down

0 comments on commit 3d7a0ca

Please sign in to comment.