mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 09:18:54 -05: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)
|
||||
|
||||
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON)
|
||||
if (NOT APPLE)
|
||||
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON)
|
||||
message(STATUS "Interprocedural optimization enabled")
|
||||
else()
|
||||
message(STATUS "Interprocedural optimization is disabled for Mac OS")
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
add_compile_definitions(
|
||||
|
Loading…
Reference in New Issue
Block a user