Ensure CMAKE_EXE_LINKER_FLAGS are included during linking.

This commit is contained in:
sebastianpick
2021-02-18 12:21:59 +01:00
committed by Baldur Karlsson
parent 7d0675aab8
commit c700204037
+1 -1
View File
@@ -50,7 +50,7 @@ else()
set(CMAKE_SKIP_BUILD_RPATH TRUE)
set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
set(CMAKE_INSTALL_RPATH "$ORIGIN/:$ORIGIN/../lib${LIB_SUFFIX}/${LIB_SUBFOLDER_TRAIL_SLASH}")
set(CMAKE_EXE_LINKER_FLAGS "${LINKER_FLAGS}")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${LINKER_FLAGS}")
add_executable(renderdoccmd ${sources})
endif()