diff --git a/mkspecs/features/common_pre.prf b/mkspecs/features/common_pre.prf index 57ea539a5..2a4ecda0f 100644 --- a/mkspecs/features/common_pre.prf +++ b/mkspecs/features/common_pre.prf @@ -75,10 +75,10 @@ win32-msvc*: QMAKE_CXXFLAGS *= /bigobj win32-g++: QMAKE_CXXFLAGS_DEBUG += -Og ################################ -# No FSX or FS9 for 64 bit +# FSX or FS9 on 32bit Windows only ################################ -equals(WORD_SIZE,64): BLACK_CONFIG -= FSX FS9 +equals(WORD_SIZE,64)|!win32: BLACK_CONFIG -= FSX FS9 ################################ # Suppress stupid warnings diff --git a/src/plugins/simulator/simulator.pro b/src/plugins/simulator/simulator.pro index 07ca21e98..41f4e4422 100644 --- a/src/plugins/simulator/simulator.pro +++ b/src/plugins/simulator/simulator.pro @@ -3,18 +3,16 @@ load(common_pre) TEMPLATE = subdirs CONFIG += ordered -win32 { - if (contains(BLACK_CONFIG, FSX) | contains(BLACK_CONFIG, FS9)) { - SUBDIRS += fscommon - } +if (contains(BLACK_CONFIG, FSX) | contains(BLACK_CONFIG, FS9)) { + SUBDIRS += fscommon +} - contains(BLACK_CONFIG, FSX) { - SUBDIRS += fsx - SUBDIRS += fsxconfig - } - contains(BLACK_CONFIG, FS9) { - SUBDIRS += fs9 - } +contains(BLACK_CONFIG, FSX) { + SUBDIRS += fsx + SUBDIRS += fsxconfig +} +contains(BLACK_CONFIG, FS9) { + SUBDIRS += fs9 } contains(BLACK_CONFIG, XPlane) {