Skip to content
This repository was archived by the owner on Jun 14, 2023. It is now read-only.

Commit 8bac93b

Browse files
committed
Update findremakenrules.pri compliant with linux
1 parent 28beeee commit 8bac93b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tests/SolARDescriptorExtractor/findremakenrules.pri

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@ exists(builddefs/qmake) {
2727
QMAKE_REMAKEN_RULES_ROOT=builddefs/qmake
2828
}
2929
else {
30-
QMAKE_REMAKEN_RULES_ROOT = $$clean_path($$(REMAKEN_RULES_ROOT))/qmake
31-
isEmpty(QMAKE_REMAKEN_RULES_ROOT) {
30+
QMAKE_REMAKEN_RULES_ROOT = $$clean_path($$(REMAKEN_RULES_ROOT))
31+
!isEmpty(QMAKE_REMAKEN_RULES_ROOT) {
32+
QMAKE_REMAKEN_RULES_ROOT = $$clean_path($$(REMAKEN_RULES_ROOT)/qmake)
33+
}
34+
else {
3235
QMAKE_REMAKEN_RULES_ROOT=$${USERHOMEFOLDER}/.remaken/rules/qmake
3336
}
3437
}
@@ -37,4 +40,4 @@ else {
3740
error("Unable to locate remaken rules in " $${QMAKE_REMAKEN_RULES_ROOT} ". Either check your remaken installation, or provide the path to your remaken qmake root folder rules in REMAKEN_RULES_ROOT environment variable.")
3841
}
3942

40-
message("Remaken qmake build rules used : " $$QMAKE_REMAKEN_RULES_ROOT)
43+
message("Remaken qmake build rules used : " $$QMAKE_REMAKEN_RULES_ROOT)

0 commit comments

Comments
 (0)