Skip to content

Commit

Permalink
OCT-5087 Use old cmake version again, see OCT-5322
Browse files Browse the repository at this point in the history
  • Loading branch information
filip-stenstrom committed Sep 12, 2022
1 parent f75af33 commit 2a26926
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CMakeLists.txt
Expand Up @@ -11,8 +11,10 @@
# You should have received a copy of the FMILIB_License.txt file
# along with this program. If not, contact Modelon AB <http://www.modelon.com>.

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

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

0 comments on commit 2a26926

Please sign in to comment.