mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-09-27 15:26:33 -04:00
Do not enable interprocedural optimization for Mac. Fixes #807
This commit is contained in:
parent
4f9fe7b533
commit
c5ece265e9
@ -2,7 +2,12 @@ include_guard(GLOBAL)
|
|||||||
|
|
||||||
include(DetectArchitecture)
|
include(DetectArchitecture)
|
||||||
|
|
||||||
|
if (NOT APPLE)
|
||||||
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON)
|
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON)
|
||||||
|
message(STATUS "Interprocedural optimization enabled")
|
||||||
|
else()
|
||||||
|
message(STATUS "Interprocedural optimization is disabled for Mac OS")
|
||||||
|
endif()
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
add_compile_definitions(
|
add_compile_definitions(
|
||||||
|
Loading…
Reference in New Issue
Block a user