File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -91,15 +91,15 @@ option(BUILD_SHARED_LIBS "build shared libraries" ON)
91
91
92
92
option (ENABLE_TESTING "build libdispatch tests" ON )
93
93
94
- option (USE_LLD_LINKER "use the lld linker" OFF )
94
+ option (USE_LLD_LINKER "use the lld linker" FALSE )
95
95
96
- if (CMAKE_SYSTEM_NAME STREQUAL Linux OR
97
- CMAKE_SYSTEM_NAME STREQUAL FreeBSD OR
98
- CMAKE_SYSTEM_NAME STREQUAL Android AND
99
- NOT USE_LLD_LINKER )
100
- set (USE_GOLD_LINKER_DEFAULT ON )
96
+ if (NOT USE_LLD_LINKER AND
97
+ ( CMAKE_SYSTEM_NAME STREQUAL Linux OR
98
+ CMAKE_SYSTEM_NAME STREQUAL FreeBSD OR
99
+ CMAKE_SYSTEM_NAME STREQUAL Android ) )
100
+ set (USE_GOLD_LINKER_DEFAULT TRUE )
101
101
else ()
102
- set (USE_GOLD_LINKER_DEFAULT OFF )
102
+ set (USE_GOLD_LINKER_DEFAULT FALSE )
103
103
endif ()
104
104
option (USE_GOLD_LINKER "use the gold linker" ${USE_GOLD_LINKER_DEFAULT} )
105
105
You can’t perform that action at this time.
0 commit comments