diff --git a/CMakeLists.txt b/CMakeLists.txt index e27a88c3e1c..e3d557c1575 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -500,7 +500,7 @@ endif() # # Maybe build translations executable # -if(MYTH_BUILD_THEMESTRING_TOOL) +if(MYTH_BUILD_THEMESTRING_TOOL AND NOT CMAKE_CROSSCOMPILING) message(VERBOSE "Setting up a sub-project for the themestringtool directory.") ExternalProject_Add( ThemeStringTool