mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Slight tweak to IPO build commands to ensure it works if compiler does not support IPO.
This commit is contained in:
parent
494dc0382a
commit
6945d949ed
1 changed files with 2 additions and 0 deletions
|
|
@ -73,6 +73,8 @@ endif()
|
|||
# Enable interprocedural (link time) optimization if requested and supported
|
||||
#===============================================================================
|
||||
|
||||
set(ipo_support_detected FALSE)
|
||||
|
||||
if (NOT (CMAKE_VERSION VERSION_LESS 3.9))
|
||||
cmake_policy(SET CMP0069 NEW)
|
||||
include(CheckIPOSupported)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue