diff options
author | Alekseev Alexey <alekseevx@gmail.com> | 2020-04-08 08:47:51 (GMT) |
---|---|---|
committer | Alekseev Alexey <alekseevx@gmail.com> | 2020-04-18 09:12:20 (GMT) |
commit | 4110d9dffb076c0d6917b823492dc4dd655514a0 (patch) | |
tree | 4396e25a5c582a83b2e8370e05605ebba819435f /Modules/Compiler | |
parent | fbf8db89e4e9441462a19b4684ddd51aa8cbe7b5 (diff) | |
download | CMake-4110d9dffb076c0d6917b823492dc4dd655514a0.zip CMake-4110d9dffb076c0d6917b823492dc4dd655514a0.tar.gz CMake-4110d9dffb076c0d6917b823492dc4dd655514a0.tar.bz2 |
Compiler/TI: Fix linker command line for C++
Just like C, libraries must be in the last part of the linker.
Commit 89317915d9 (Compiler/TI: Pass libraries as last part to linker, 2016-06-02)
Diffstat (limited to 'Modules/Compiler')
-rw-r--r-- | Modules/Compiler/TI-CXX.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/TI-CXX.cmake b/Modules/Compiler/TI-CXX.cmake index 4c6af06..08a830a 100644 --- a/Modules/Compiler/TI-CXX.cmake +++ b/Modules/Compiler/TI-CXX.cmake @@ -9,4 +9,4 @@ set(CMAKE_CXX_CREATE_PREPROCESSED_SOURCE "<CMAKE_CXX_COMPILER> --preproc_only -- set(CMAKE_CXX_COMPILE_OBJECT "<CMAKE_CXX_COMPILER> --compile_only --cpp_file=<SOURCE> <DEFINES> <INCLUDES> <FLAGS> --output_file=<OBJECT>") set(CMAKE_CXX_ARCHIVE_CREATE "<CMAKE_AR> -r <TARGET> <OBJECTS>") -set(CMAKE_CXX_LINK_EXECUTABLE "<CMAKE_CXX_COMPILER> --run_linker --output_file=<TARGET> --map_file=<TARGET>.map <CMAKE_CXX_LINK_FLAGS> <LINK_LIBRARIES> <LINK_FLAGS> <OBJECTS>") +set(CMAKE_CXX_LINK_EXECUTABLE "<CMAKE_CXX_COMPILER> --run_linker --output_file=<TARGET> --map_file=<TARGET>.map <CMAKE_CXX_LINK_FLAGS> <LINK_FLAGS> <OBJECTS> <LINK_LIBRARIES>") |