Skip to content

Commit

Permalink
cmake/FindGoldLinker: Do not use gold by default
Browse files Browse the repository at this point in the history
When embedding Spicy in other CMake projects, the gold linker should not
be used by default (even if installed on the system).

The ./configure script continues to enable gold detection by default.

(cherry picked from commit 81f3aa4)
  • Loading branch information
awelzel authored and bbannier committed Dec 2, 2022
1 parent c1e296a commit 9dfc953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindGoldLinker.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Enable Gold linker if available.

option(USE_GOLD "Use Gold linker" ON)
option(USE_GOLD "Use Gold linker" OFF)

set(GOLD_FOUND "no")

Expand Down

0 comments on commit 9dfc953

Please sign in to comment.