Detail fix for previous commit
This commit is contained in:
parent
4d139137cc
commit
4a268be333
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
include (CheckIPOSupported)
|
include (CheckIPOSupported)
|
||||||
check_ipo_supported (RESULT result OUTPUT output)
|
check_ipo_supported (RESULT result OUTPUT output)
|
||||||
|
|
||||||
if (result AND ENABLE_LTO AND ${CMAKE_BUILD_TYPE} MATCHES Release)
|
if (result AND ENABLE_LTO AND ${CMAKE_BUILD_TYPE} STREQUAL "Release")
|
||||||
message (STATUS "\nLTO enabled.")
|
message (STATUS "\nLTO enabled.")
|
||||||
else()
|
else()
|
||||||
if (${output})
|
if (${output})
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue