Skip to content
This repository has been archived by the owner on May 16, 2020. It is now read-only.

Commit

Permalink
fixed src.pro to enable markdown support on Qt5 as well
Browse files Browse the repository at this point in the history
  • Loading branch information
velnias75 committed Jun 27, 2015
1 parent 62aa1fa commit b8f28d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/src.pro
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ CONFIG += debug_and_release
CONFIG += rtti exceptions
unix:CONFIG += link_pkgconfig

greaterThan(QT_MAJOR_VERSION, 4) || unix:packagesExist(QJson) {
greaterThan(QT_MAJOR_VERSION, 4) || packagesExist(QJson) {

lessThan(QT_MAJOR_VERSION, 5) {
message("Found QJson")
Expand All @@ -18,13 +18,13 @@ greaterThan(QT_MAJOR_VERSION, 4) || unix:packagesExist(QJson) {

MKDIO_H_MULTILIB = $$(MULTILIB)

unix:isEmpty(MKDIO_H_MULTILIB) {
isEmpty(MKDIO_H_MULTILIB) {
MKDIO_H_LOC="/usr/include/mkdio.h"
} else {
MKDIO_H_LOC="/usr/include/$$(MULTILIB)/mkdio.h"
}

unix:exists($$MKDIO_H_LOC) {
exists($$MKDIO_H_LOC) {
message("Found $$MKDIO_H_LOC, will enable markdown support")
DEFINES += HAVE_MKDIO_H
LIBS += -lmarkdown
Expand Down

0 comments on commit b8f28d7

Please sign in to comment.