summaryrefslogtreecommitdiffstats
path: root/demos/spectrum/app/app.pro
diff options
context:
space:
mode:
Diffstat (limited to 'demos/spectrum/app/app.pro')
-rw-r--r--demos/spectrum/app/app.pro8
1 files changed, 5 insertions, 3 deletions
diff --git a/demos/spectrum/app/app.pro b/demos/spectrum/app/app.pro
index 9964d14..2adb605 100644
--- a/demos/spectrum/app/app.pro
+++ b/demos/spectrum/app/app.pro
@@ -37,7 +37,9 @@ HEADERS += engine.h \
waveform.h \
wavfile.h
-INCLUDEPATH += ../fftreal
+fftreal_dir = ../3rdparty/fftreal
+
+INCLUDEPATH += $${fftreal_dir}
RESOURCES = spectrum.qrc
@@ -58,7 +60,7 @@ symbian {
} else {
macx {
# Link to fftreal framework
- LIBS += -F../fftreal
+ LIBS += -F$${fftreal_dir}
LIBS += -framework fftreal
} else {
# Link to dynamic library which is written to ../bin
@@ -92,7 +94,7 @@ symbian {
QMAKE_POST_LINK = \
mkdir -p $${framework_dir} &&\
rm -rf $${framework_dir}/fftreal.framework &&\
- cp -R ../fftreal/fftreal.framework $${framework_dir} &&\
+ cp -R $${fftreal_dir}/fftreal.framework $${framework_dir} &&\
install_name_tool -id @executable_path/../Frameworks/$${framework_name} \
$${framework_dir}/$${framework_name} &&\
install_name_tool -change $${framework_name} \