Skip to content

Commit 7e95dd5

Browse files
committed
Linux/mac build fixed
1 parent 79e81e1 commit 7e95dd5

File tree

5 files changed

+7
-9
lines changed

5 files changed

+7
-9
lines changed

file-commander-core/file-commander-core.pro

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ UI_DIR = ../build/$${OUTPUT_DIR}/$${TARGET}
1111
RCC_DIR = ../build/$${OUTPUT_DIR}/$${TARGET}
1212

1313
mac*|linux*|freebsd{
14-
PRE_TARGETDEPS += $${DESTDIR}/libqtutils.a
15-
PRE_TARGETDEPS += $${DESTDIR_NOARCH}/libthin_io.a $${DESTDIR_NOARCH}/libcpputils.a
14+
PRE_TARGETDEPS += $${DESTDIR_NOARCH}/libthin_io.a $${DESTDIR_NOARCH}/libcpputils.a $${DESTDIR_NOARCH}/libqtutils.a
1615
}
1716

1817
LIBS += -L$${DESTDIR} -L$${DESTDIR_NOARCH} -lcpputils -lqtutils

file-commander.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
TEMPLATE = subdirs
22

3-
SUBDIRS += qt_app qtutils text_encoding_detector file_commander_core autoupdater cpputils image-processing cpp-template-utils thin_io textviewerplugin imageviewerplugin filecomparisonplugin
3+
SUBDIRS = qt_app qtutils text_encoding_detector file_commander_core autoupdater cpputils image-processing cpp-template-utils thin_io textviewerplugin imageviewerplugin filecomparisonplugin
44

55
qtutils.depends = cpputils image-processing
66

plugins/tools/filecomparisonplugin/filecomparisonplugin.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ win32*:!*msvc2012:*msvc* {
6262
}
6363

6464
mac*|linux*|freebsd{
65-
PRE_TARGETDEPS += $${DESTDIR}/libcore.a $${DESTDIR}/libqtutils.a $${DESTDIR_NOARCH}/libcpputils.a
65+
PRE_TARGETDEPS += $${DESTDIR}/libcore.a $${DESTDIR_NOARCH}/libqtutils.a $${DESTDIR_NOARCH}/libcpputils.a
6666
}
6767

6868
INCLUDEPATH += \

plugins/viewer/imageviewer/imageviewer.pro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,6 @@ FORMS += \
8686
src/cimageviewerwindow.ui
8787

8888
mac*|linux*|freebsd{
89-
PRE_TARGETDEPS += $${DESTDIR}/libcore.a $${DESTDIR}/libimage-processing.a $${DESTDIR}/libqtutils.a
90-
PRE_TARGETDEPS += $${DESTDIR_NOARCH}/libcpputils.a
89+
PRE_TARGETDEPS += $${DESTDIR}/libcore.a $${DESTDIR}/libimage-processing.a
90+
PRE_TARGETDEPS += $${DESTDIR_NOARCH}/libcpputils.a $${DESTDIR_NOARCH}/libqtutils.a
9191
}

plugins/viewer/textviewer/textviewer.pro

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ win32*:!*msvc2012:*msvc* {
6666
}
6767

6868
mac*|linux*|freebsd{
69-
PRE_TARGETDEPS += $${DESTDIR}/libcore.a $${DESTDIR}/libtext_encoding_detector.a $${DESTDIR}/libqtutils.a
70-
PRE_TARGETDEPS += $${DESTDIR_NOARCH}/libcpputils.a
69+
PRE_TARGETDEPS += $${DESTDIR}/libcore.a $${DESTDIR}/libtext_encoding_detector.a
70+
PRE_TARGETDEPS += $${DESTDIR_NOARCH}/libcpputils.a $${DESTDIR_NOARCH}/libqtutils.a
7171
}
7272

7373
INCLUDEPATH += \
@@ -77,7 +77,6 @@ INCLUDEPATH += \
7777
../../../cpputils \
7878
../../../cpp-template-utils \
7979
../../../3rdparty \
80-
../../../github-releases-autoupdater/3rdparty \
8180
../../../text-encoding-detector/text-encoding-detector/src \
8281
$$PWD/src/
8382

0 commit comments

Comments
 (0)