mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
build: Don't modify CMAKE_XXX_FLAGS directly
This commit is contained in:
@@ -461,8 +461,8 @@ macro(configureCMake)
|
||||
set(CMAKE_LINKER ${LD_LLD_PATH})
|
||||
|
||||
if (NOT XCODE AND NOT MSVC)
|
||||
set(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} -fuse-ld=lld)
|
||||
set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -fuse-ld=lld)
|
||||
add_link_options("-fuse-ld=lld")
|
||||
add_link_options("-fuse-ld=lld")
|
||||
endif()
|
||||
else ()
|
||||
message(WARNING "lld not found, using default linker!")
|
||||
|
||||
Reference in New Issue
Block a user