diff options
author | Christian Fetzer <fetzer.ch@gmail.com> | 2016-12-30 13:57:55 +0100 |
---|---|---|
committer | Christian Fetzer <fetzer.ch@gmail.com> | 2016-12-30 13:57:55 +0100 |
commit | 0c6fbddf228bf320e8c900f51ae6d446bd1e0b54 (patch) | |
tree | 882a134fe3a3e70f5ebdbd72e735df5f633f9787 /CMakeLists.txt | |
parent | 7d7f71369cb12961af8244971b700a62c9688464 (diff) |
[cmake] Fix make binary-addons when crosscompiling
Binary addons have a different toolchain file which we have to use.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 660fb71071..ec915dba7a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -428,7 +428,7 @@ endif() # Use make binary-addons ADDONS="visualization.spectrum" to select the addons to build. if(CMAKE_GENERATOR STREQUAL "Unix Makefiles") if(CMAKE_CROSSCOMPILING) - set(_cross_args CROSS_COMPILING=yes TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}) + set(_cross_args CROSS_COMPILING=yes) endif() if(NOT CORE_SYSTEM_NAME STREQUAL android) set(_prefix ${CMAKE_BINARY_DIR}/addons) |