Skip to content

Commit 2a26926

Browse files
OCT-5087 Use old cmake version again, see OCT-5322
1 parent f75af33 commit 2a26926

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@
1111
# You should have received a copy of the FMILIB_License.txt file
1212
# along with this program. If not, contact Modelon AB <http://www.modelon.com>.
1313

14-
# CMake 3.1.3 or later is required to build Expat.
15-
cmake_minimum_required (VERSION 3.1.3 FATAL_ERROR)
14+
# CMake 3.1.3 or later is required to build Expat (as ExternalProject). However,
15+
# keeping 2.8.6 on the FMIL main project for now since updating causes issues
16+
# with CMP0026 (and more).
17+
cmake_minimum_required (VERSION 2.8.6 FATAL_ERROR)
1618

1719
# Prohibit in-source build
1820
IF("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")

0 commit comments

Comments
 (0)