Skip to content

Commit

Permalink
fix: don't override CMAKE_EXE_LINKER_FLAGS
Browse files Browse the repository at this point in the history
Append to it instead of overwriting it.
  • Loading branch information
felixonmars authored and BLumia committed Jan 17, 2025
1 parent 8e035cf commit 14627ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ endif()


#对DApplication 进行加速
set(CMAKE_EXE_LINKER_FLAGS "-pie")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie")


add_subdirectory(src)
Expand Down

0 comments on commit 14627ba

Please sign in to comment.