mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
Merge pull request #4629: BUILD(cmake): Fix overlay link option being overwritten
If a system for instance uses -z,now in their default build flags (as Arch Linux does), it will overwrite the -z,lazy flag which however is needed in order for the overlay to work with games that are not directly linked with OpenGL. By using the BEFORE keyword in cmake, we can prevent this from happening. This commit can be viewed as a follow-up for #3307. Fixes #3296
This commit is contained in:
commit
0156972236
@ -19,7 +19,7 @@ set_target_properties(overlay_gl
|
||||
)
|
||||
|
||||
if(NOT APPLE)
|
||||
target_link_options(overlay_gl
|
||||
target_link_options(overlay_gl BEFORE
|
||||
PRIVATE
|
||||
"-Wl,-z,lazy"
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user