Skip to content

Commit

Permalink
fix: include path(DTK_INCLUDEPATH)
Browse files Browse the repository at this point in the history
Change-Id: Ia9914c5bb7b351a4b6187db36f765c73bb67868b
  • Loading branch information
zccrs committed Jan 17, 2018
1 parent c6ec6d2 commit b6ecfd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.pri
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ QMAKE_PKGCONFIG_VERSION = $$VERSION
QMAKE_PKGCONFIG_DESTDIR = pkgconfig

isEmpty(INCLUDE_INSTALL_DIR) {
DTK_INCLUDEPATH = $$PREFIX/include/libdtk-$$VERSION
DTK_INCLUDEPATH = $$PREFIX/include/libdtk-$${VER_MAJ}.$${VER_MIN}.$${VER_PAT}
} else {
DTK_INCLUDEPATH = $$INCLUDE_INSTALL_DIR/libdtk-$$VERSION
DTK_INCLUDEPATH = $$INCLUDE_INSTALL_DIR/libdtk-$${VER_MAJ}.$${VER_MIN}.$${VER_PAT}
}

load(configure)
Expand Down

0 comments on commit b6ecfd8

Please sign in to comment.