cmake: Do not add .exe postfix for linguist tools in cross-compile situations
authorDaniel Molkentin <daniel@molkentin.de>
Mon, 24 Mar 2014 20:38:11 +0000 (21:38 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 25 Mar 2014 17:08:15 +0000 (18:08 +0100)
Change-Id: I3696d4f6bb237f9bee15f86ef68cce48ee388942
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
src/linguist/linguist.pro

index 9cf4aa6..3a70580 100644 (file)
@@ -9,7 +9,7 @@ qtNomakeTools( \
     linguist \
 )
 
-win32:CMAKE_BIN_SUFFIX = ".exe"
+equals(QMAKE_HOST.os, Windows): CMAKE_BIN_SUFFIX = ".exe"
 
 load(cmake_functions)