mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-12 19:10:27 +03:00
reenable LTO for MacOS firmware builds (#9136)
This commit is contained in:
parent
ce4bac1424
commit
df52583b87
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ function(setup_executable exe name)
|
|||
set_target_properties(${exe} PROPERTIES
|
||||
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
|
||||
)
|
||||
if(IS_RELEASE_BUILD AND NOT CMAKE_HOST_APPLE)
|
||||
if(IS_RELEASE_BUILD AND NOT (CMAKE_HOST_APPLE AND SITL))
|
||||
set_target_properties(${exe} PROPERTIES
|
||||
INTERPROCEDURAL_OPTIMIZATION ON
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue