Fix type in .pri breaking non-cross-compiling

This commit is contained in:
Gioacchino Mazzurco 2018-10-06 18:49:17 +02:00
parent 47df24b822
commit 8f17270a2a
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051
2 changed files with 3 additions and 1 deletions

View File

@ -51,7 +51,7 @@ rs_jsonapi {
RS_SRC_PATH=$$clean_path($${PWD}/../../)
RS_BUILD_PATH=$$clean_path($${OUT_PWD}/../../)
no_cross_compiling {
no_rs_cross_compiling {
RESTBED_SRC_PATH=$$clean_path($${RS_SRC_PATH}/supportlibs/restbed)
RESTBED_BUILD_PATH=$$clean_path($${RS_BUILD_PATH}/supportlibs/restbed)
INCLUDEPATH *= $$clean_path($${RESTBED_BUILD_PATH}/include/)

View File

@ -322,6 +322,8 @@ equals(QMAKE_HOST_SPEC, $$QMAKE_TARGET_SPEC) {
} else {
CONFIG *= rs_cross_compiling
CONFIG -= no_rs_cross_compiling
message(Cross-compiling detected QMAKE_HOST_SPEC: $$QMAKE_HOST_SPEC \
QMAKE_TARGET_SPEC: $$QMAKE_TARGET_SPEC)
}
defined(RS_MAJOR_VERSION,var):\