Fixed path to Inno Setup.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-06-22 14:10:40 +03:00
parent aaab56fe00
commit 8a02129e24

View File

@ -437,20 +437,20 @@ win32:*-g++ {
SCP_FOUND = false SCP_FOUND = false
exists("C:/Program Files (x86)/Inno Setup 5/iscc.exe") { exists("C:/Program Files (x86)/Inno Setup 5/iscc.exe") {
INNO_ISCC = "C:/Program Files (x86)/Inno Setup 5/iscc.exe" INNO_ISCC = "C:/Program Files (x86)/Inno Setup 5/iscc.exe"
SCP_FOUND = true SCP_FOUND = true
} else { } else {
exists(INNO_ISCC = "C:/Program Files/Inno Setup 5/iscc.exe") { exists("C:/Program Files/Inno Setup 5/iscc.exe") {
INNO_ISCC = INNO_ISCC = "C:/Program Files/Inno Setup 5/iscc.exe" INNO_ISCC = "C:/Program Files/Inno Setup 5/iscc.exe"
SCP_FOUND = true SCP_FOUND = true
} }
} }
if($$SCP_FOUND) { if($$SCP_FOUND) {
package_inno.path = $${OUT_PWD}/../../../package package_inno.path = $${OUT_PWD}/../../../package
package_inno.files += \ package_inno.files += \
$$PWD/../../../dist/win/inno/LICENSE_VALENTINA \ $$PWD/../../../dist/win/inno/LICENSE_VALENTINA \
$$PWD/../../../dist/win/inno/valentina.iss $$PWD/../../../dist/win/inno/valentina.iss
INSTALLS += package_inno INSTALLS += package_inno
# Do the packaging # Do the packaging