kopia lustrzana https://github.com/f4exb/sdrangel
Do not enable interprocedural optimization for Mac. Fixes #807
rodzic
4f9fe7b533
commit
c5ece265e9
|
@ -2,7 +2,12 @@ include_guard(GLOBAL)
|
||||||
|
|
||||||
include(DetectArchitecture)
|
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)
|
if(WIN32)
|
||||||
add_compile_definitions(
|
add_compile_definitions(
|
||||||
|
|
Ładowanie…
Reference in New Issue