Closed kkm000 closed 2 years ago
CMAKE_EXE_LINKER_FLAGS is a user-facing cached variable; more so, possibly initialized by a toolset via CMAKE_EXE_LINKER_FLAGS_INIT. Augment it instead of overwriting.
CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS_INIT
CMAKE_EXE_LINKER_FLAGS
is a user-facing cached variable; more so, possibly initialized by a toolset viaCMAKE_EXE_LINKER_FLAGS_INIT
. Augment it instead of overwriting.