File tree 4 files changed +27
-12
lines changed
4 files changed +27
-12
lines changed Original file line number Diff line number Diff line change 9
9
# This software is distributed under the 3-clause BSD License.
10
10
# ___________________________________________________________________________
11
11
12
- cmake_minimum_required (VERSION 3.0)
13
- # CMake 3.0 needed by AMPL/asl build
12
+ cmake_minimum_required (VERSION 3.0...3.31 )
13
+ # This was developed against CMake 3.0, and appears to comply with 3.5
14
14
15
15
PROJECT ( ampl_function_demo )
16
16
Original file line number Diff line number Diff line change 9
9
# This software is distributed under the 3-clause BSD License.
10
10
# ___________________________________________________________________________
11
11
12
- cmake_minimum_required (VERSION 3.0)
13
- # Minimum version inherited from AMPL/asl
12
+ cmake_minimum_required (VERSION 3.0...3.31)
13
+ # CMake 3.0 added GIT_SUBMODULES to ExternalProject_ADD, and without it
14
+ # the Ampl/MP checkout fails because one of the submodules (gecode) is a
15
+ # private repository.
16
+ #
17
+ # CMake will complain/fail if we don't explicitly acknowledge 3.5
18
+ # compatibility. AMPL/asl has moved their min version to 3.5.
14
19
15
20
include (ExternalProject)
16
21
17
22
# Dependencies that we manage / can install
18
- SET (AMPLASL_TAG "9fb7cb8e4f68ed1c3bc066d191e63698b7d7d1d2 " CACHE STRING
23
+ SET (AMPLASL_TAG "ae937db9bd1169ec2c4cb8d75196f67cdcb8041b " CACHE STRING
19
24
"AMPL/asl git tag/branch to checkout and build" )
20
- # 9fb7cb8e4f68ed1c3bc066d191e63698b7d7d1d2 corresponds to ASLdate = 20211109
25
+ # 9fb7cb8e4f68ed1c3bc066d191e63698b7d7d1d2: ASLdate=20211109
26
+ # ae937db9bd1169ec2c4cb8d75196f67cdcb8041b: v1.0.1 ASLdate = 20241202/20241122
21
27
OPTION (BUILD_AMPLASL
22
28
"Download and build AMPL/asl ${AMPLASL_TAG} from GitHub" OFF )
23
29
Original file line number Diff line number Diff line change 9
9
# This software is distributed under the 3-clause BSD License.
10
10
# ___________________________________________________________________________
11
11
12
- cmake_minimum_required (VERSION 3.0)
13
- # CMake 3.0 needed by AMPL/asl build
12
+ cmake_minimum_required (VERSION 3.0...3.31 )
13
+ # This was developed against CMake 3.0, and appears to comply with 3.5
14
14
15
15
PROJECT ( cspline_external )
16
16
Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.0)
2
- # CMake 3.0 added GIT_SUBMODULES to ExternalProject_ADD, and without it
3
- # the Ampl/MP checkout fails because one of the submodules (gecode) is a
4
- # private repository.
1
+ # ___________________________________________________________________________
2
+ #
3
+ # Pyomo: Python Optimization Modeling Objects
4
+ # Copyright (c) 2008-2025
5
+ # National Technology and Engineering Solutions of Sandia, LLC
6
+ # Under the terms of Contract DE-NA0003525 with National Technology and
7
+ # Engineering Solutions of Sandia, LLC, the U.S. Government retains certain
8
+ # rights in this software.
9
+ # This software is distributed under the 3-clause BSD License.
10
+ # ___________________________________________________________________________
11
+
12
+ cmake_minimum_required (VERSION 3.0...3.31)
13
+ # This was developed against CMake 3.0, and appears to comply with 3.5
5
14
6
15
PROJECT ( pynumero )
7
16
You can’t perform that action at this time.
0 commit comments