Skip to content

Commit

Permalink
Bump Cmake Minimum version to 3.16
Browse files Browse the repository at this point in the history
A conversation with @Myoldmopar lead to this. I'm already bumping to 3.12, but 3.16 added Precompiled Headers (PCH) which is a significant speedup.
3.13 added target_link_options which is also handy.
  • Loading branch information
jmarrec committed Jun 18, 2021
1 parent 9b5a6b6 commit 73fc0b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ cmake_policy(SET CMP0048 NEW) # handling project_version_* variables

project(EnergyPlus)

cmake_minimum_required(VERSION 3.12)
cmake_minimum_required(VERSION 3.16)

if(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} VERSION_GREATER "3.0")
cmake_policy(SET CMP0054 NEW) # CMake 3.1 added this policy
Expand Down

1 comment on commit 73fc0b1

@nrel-bot-3
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FindPython (jmarrec) - x86_64-MacOS-10.15-clang-11.0.0: OK (3092 of 3092 tests passed, 0 test warnings)

Build Badge Test Badge

Please # to comment.