mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +00:00
Allow global setting of CMAKE_INTERPROCEDURAL_OPTIMIZATION
This commit is contained in:
parent
9d03627a17
commit
b87a935c58
@ -22,7 +22,7 @@ if(TRACY_Fortran)
|
||||
set(CMAKE_Fortran_VERSION 2003)
|
||||
endif()
|
||||
|
||||
if(TRACY_LTO)
|
||||
if(TRACY_LTO OR CMAKE_INTERPROCEDURAL_OPTIMIZATION)
|
||||
include(CheckIPOSupported)
|
||||
check_ipo_supported(RESULT LTO_SUPPORTED)
|
||||
if(NOT LTO_SUPPORTED)
|
||||
|
Loading…
x
Reference in New Issue
Block a user