Skip to content

Commit c4192e8

Browse files
ilya-fedinjohn-preston
authored andcommitted
CMake: Use the same optimization level on macOS as on other systems
1 parent 2971c21 commit c4192e8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

cmake/init_target.cmake

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@ endfunction()
1313
function(init_target target_name) # init_target(my_target folder_name)
1414
target_compile_features(${target_name} PUBLIC cxx_std_20)
1515

16-
if (NOT TG_OWT_SPECIAL_TARGET STREQUAL "")
17-
set_target_properties(${target_name} PROPERTIES
18-
XCODE_ATTRIBUTE_GCC_OPTIMIZATION_LEVEL $<IF:$<CONFIG:Debug>,0,fast>
19-
XCODE_ATTRIBUTE_LLVM_LTO $<IF:$<CONFIG:Debug>,NO,YES>
20-
)
21-
endif()
2216
target_compile_definitions(${target_name}
2317
PRIVATE
2418
HAVE_SCTP

0 commit comments

Comments
 (0)