Skip to content

Commit

Permalink
linker
Browse files Browse the repository at this point in the history
  • Loading branch information
danemadsen committed Aug 7, 2024
1 parent 4a81c1a commit e313a93
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ add_library(
src/voice.cpp
)

if(COMPILER_SUPPORTS_FUSE_LD_GOLD)
target_link_options(babylon PRIVATE "--build-id=none")
else()
message(WARNING "The linker does not support --build-id=none. Skipping this flag for target babylon.")
endif()

# Set the output directory for the shared library
set_target_properties(
babylon
Expand Down

0 comments on commit e313a93

Please sign in to comment.