mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix the LIBDCDEVEL=1 build when libdivecomputer was shadow-built
When that happens, the include/version.h file is in the shadow build dir, not in the sources. Signed-off-by: Thiago Macieira <thiago@macieira.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2f582f4fb1
commit
9060558a7d
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ PKG_CONFIG_OUT = $$system($$PKG_CONFIG --version 2> $$NUL)
|
||||||
#
|
#
|
||||||
!isEmpty(LIBDCDEVEL) {
|
!isEmpty(LIBDCDEVEL) {
|
||||||
# find it next to our sources
|
# find it next to our sources
|
||||||
INCLUDEPATH += ../libdivecomputer/include
|
INCLUDEPATH += ../libdivecomputer/include $$OUT_PWD/../libdivecomputer/include
|
||||||
LIBS += ../libdivecomputer/src/.libs/libdivecomputer.a
|
LIBS += ../libdivecomputer/src/.libs/libdivecomputer.a
|
||||||
LIBDC_LA = ../libdivecomputer/src/libdivecomputer.la
|
LIBDC_LA = ../libdivecomputer/src/libdivecomputer.la
|
||||||
} else:!isEmpty(CROSS_PATH):exists($${CROSS_PATH}"/lib/libdivecomputer.a"):exists($${CROSS_PATH}"/lib/libusb-1.0.a") {
|
} else:!isEmpty(CROSS_PATH):exists($${CROSS_PATH}"/lib/libdivecomputer.a"):exists($${CROSS_PATH}"/lib/libusb-1.0.a") {
|
||||||
|
|
Loading…
Add table
Reference in a new issue