Skip to content

Commit

Permalink
added PREFIX eval from qmake properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Gemba committed Apr 5, 2024
1 parent b8e5b3d commit ae03a29
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion skyscraper.pro
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,16 @@ CONFIG += release
QT += core network xml
QMAKE_CXXFLAGS += -std=c++17

# Installation prefix folder for bin/Skyscraper and etc/skyscraper/*
# Installation prefix path for bin/Skyscraper and etc/skyscraper/*
PREFIX=$$(PREFIX)
# One time set with "PREFIX=/path/to qmake"?
isEmpty(PREFIX) {
# No. Try qmake persistent property $$[PREFIX].
PREFIX = $$[PREFIX]
}
# Check if persistent property has been set with "qmake -set PREFIX /path/to"?
isEmpty(PREFIX) {
# No. Use default.
PREFIX = /usr/local
}

Expand Down

0 comments on commit ae03a29

Please sign in to comment.