diff options
author | Brad King <brad.king@kitware.com> | 2016-06-03 14:45:43 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-06-03 14:45:43 (GMT) |
commit | 6f1f7965af2d5a31f0cd47a84fe4399909cbc5a3 (patch) | |
tree | a702ba8811e01410db712ec986b41568e0a9e2b7 | |
parent | 811831a958c91404193cc0a35d2d90f8351eb51c (diff) | |
parent | 89317915d9add953d000e6c4b962b7fbb4190c1d (diff) | |
download | CMake-6f1f7965af2d5a31f0cd47a84fe4399909cbc5a3.zip CMake-6f1f7965af2d5a31f0cd47a84fe4399909cbc5a3.tar.gz CMake-6f1f7965af2d5a31f0cd47a84fe4399909cbc5a3.tar.bz2 |
Merge topic 'fix-ti-link-order'
89317915 Compiler/TI: Pass libraries as last part to linker
-rw-r--r-- | Modules/Compiler/TI-C.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/TI-C.cmake b/Modules/Compiler/TI-C.cmake index 479666c..ebc79f4 100644 --- a/Modules/Compiler/TI-C.cmake +++ b/Modules/Compiler/TI-C.cmake @@ -7,4 +7,4 @@ set(CMAKE_C_CREATE_PREPROCESSED_SOURCE "<CMAKE_C_COMPILER> --preproc_only --c_fi set(CMAKE_C_COMPILE_OBJECT "<CMAKE_C_COMPILER> --compile_only --c_file=<SOURCE> <DEFINES> <INCLUDES> <FLAGS> --output_file=<OBJECT>") set(CMAKE_C_ARCHIVE_CREATE "<CMAKE_AR> -r <TARGET> <OBJECTS>") -set(CMAKE_C_LINK_EXECUTABLE "<CMAKE_C_COMPILER> --run_linker --output_file=<TARGET> --map_file=<TARGET>.map <CMAKE_C_LINK_FLAGS> <LINK_LIBRARIES> <LINK_FLAGS> <OBJECTS>") +set(CMAKE_C_LINK_EXECUTABLE "<CMAKE_C_COMPILER> --run_linker --output_file=<TARGET> --map_file=<TARGET>.map <CMAKE_C_LINK_FLAGS> <LINK_FLAGS> <OBJECTS> <LINK_LIBRARIES>") |