Skip to content

Commit ea37af9

Browse files
leo60228flibitijibibo
authored andcommitted
Don't overwrite existing CMAKE_EXE_LINKER_FLAGS
1 parent 770915a commit ea37af9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

desktop_version/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ if(NOT WIN32)
5959
elseif(CMAKE_SIZEOF_VOID_P MATCHES "8")
6060
set(BIN_LIBROOT "lib64")
6161
set(BIN_RPATH "\$ORIGIN/lib64")
62-
set(CMAKE_EXE_LINKER_FLAGS "-Wl,--disable-new-dtags")
62+
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--disable-new-dtags")
6363
else()
6464
set(BIN_LIBROOT "lib")
6565
set(BIN_RPATH "\$ORIGIN/lib")

0 commit comments

Comments
 (0)