diff --git a/src/MdCharm/MdCharm.pro b/src/MdCharm/MdCharm.pro index 8f06fbd..3cec407 100644 --- a/src/MdCharm/MdCharm.pro +++ b/src/MdCharm/MdCharm.pro @@ -24,7 +24,7 @@ CONFIG(debug, debug|release){ #debug LIBS += -L../release -lgbreakpad -lcore } #Fix for hunspell -win32: { +win32-msvc*: { INCLUDEPATH+=../lib/hunspell/src ../lib/pcre CONFIG(debug, debug|release){ LIBS += -L../debug -lhunspell_d -lmdcharm_pcre @@ -51,7 +51,7 @@ win32 { win32-g++ { CONFIG += link_pkgconfig - PKGCONFIG += zlib + PKGCONFIG += zlib hunspell } win32-msvc*:QMAKE_CXXFLAGS_RELEASE += -Zi diff --git a/src/lib/lib.pro b/src/lib/lib.pro index 469dfcc..f983cfa 100644 --- a/src/lib/lib.pro +++ b/src/lib/lib.pro @@ -4,7 +4,7 @@ CONFIG += ordered SUBDIRS += crashdump #SUBDIRS += markdown -SUBDIRS += hunspell +!win32-g++: SUBDIRS += hunspell SUBDIRS += multimarkdown/peg/leg.pro SUBDIRS += pcre SUBDIRS += core.pro