0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-24 08:34:38 +03:00

DEST_INCLUDE_DIR = $$PWD/include/ to DEST_INCLUDE_DIR = $$PWD/include

This commit is contained in:
Newsages 2016-03-31 15:42:08 +02:00
parent aeb11d0318
commit 4665a7e914
2 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ CONFIG(release, debug|release){
} }
BUILD_DIR = $$PWD/build/$${QT_VERSION} BUILD_DIR = $$PWD/build/$${QT_VERSION}
DEST_INCLUDE_DIR = $$PWD/include/ DEST_INCLUDE_DIR = $$PWD/include
unix:!macx { unix:!macx {
ARCH_DIR = $${OUT_PWD}/unix ARCH_DIR = $${OUT_PWD}/unix

View File

@ -25,12 +25,12 @@ EXTRA_FILES += \
include(limereport.pri) include(limereport.pri)
unix { unix:{
DESTDIR = $${BUILD_DIR}/$${BUILD_TYPE}/lib DESTDIR = $${BUILD_DIR}/$${BUILD_TYPE}/lib
linux{ linux{
QMAKE_POST_LINK += mkdir -p $$quote($${DESTDIR}/include) $$escape_expand(\\n\\t) # qmake need make mkdir -p on subdirs more than root/ QMAKE_POST_LINK += mkdir -p $$quote($${DEST_INCLUDE_DIR}) $$escape_expand(\\n\\t) # qmake need make mkdir -p on subdirs more than root/
for(FILE,EXTRA_FILES){ for(FILE,EXTRA_FILES){
QMAKE_POST_LINK += $$QMAKE_COPY $$quote($$FILE) $$quote($${DESTDIR}/include) $$escape_expand(\\n\\t) # inside of libs make /include/files QMAKE_POST_LINK += $$QMAKE_COPY $$quote($$FILE) $$quote($${DEST_INCLUDE_DIR}) $$escape_expand(\\n\\t) # inside of libs make /include/files
} }
} }