# Chaging order of options in the link command of a cross-compilation project via CMAKE\_CXX\_LINK\_EXECUTABLE

**URL:** https://discourse.cmake.org/t/chaging-order-of-options-in-the-link-command-of-a-cross-compilation-project-via-cmake-cxx-link-executable/1346
**Category:** Usage
**Tags:** comp:ti
**Created:** [June 8, 2020, 2:07pm UTC](https://discourse.cmake.org/t/chaging-order-of-options-in-the-link-command-of-a-cross-compilation-project-via-cmake-cxx-link-executable/1346 "2020-06-08T14:07:57Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![jairo](https://discourse.cmake.org/user_avatar/discourse.cmake.org/jairo/32/672_2.png) [@jairo](https://discourse.cmake.org/u/jairo)
#### Post date: [June 19, 2020, 1:48pm UTC](https://discourse.cmake.org/t/chaging-order-of-options-in-the-link-command-of-a-cross-compilation-project-via-cmake-cxx-link-executable/1346/3 "2020-06-19T13:48:40Z")

</div>

Solved! See here: [Modifying CMAKE\_\<LANG\>\_LINK\_EXECUTABLE in toolchain file](https://discourse.cmake.org/t/modifying-cmake-lang-link-executable-in-toolchain-file/1386/4)

---

_[View the full topic](https://discourse.cmake.org/t/chaging-order-of-options-in-the-link-command-of-a-cross-compilation-project-via-cmake-cxx-link-executable/1346)._
