1
0
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:
f4exb 2021-04-10 12:21:27 +02:00
parent 4f9fe7b533
commit c5ece265e9

View File

@ -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(