Skip to content

Commit

Permalink
use pkgconfig everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
kallaballa committed Oct 11, 2014
1 parent 7e8de28 commit 95041d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Magick++.pri
@@ -1,6 +1,5 @@
magick++ {
message("Configuring Magick++...")

QMAKE_CXXFLAGS += `Magick++-config --cppflags --cxxflags`
QMAKE_LIBS += `Magick++-config --cppflags --cxxflags --ldflags --libs`
PKGCONFIG += Magick++
}
3 changes: 1 addition & 2 deletions png.pri
@@ -1,6 +1,5 @@
libpng {
message("Configuring libpng...")
DEFINES += cimg_use_png
QMAKE_CXXFLAGS += `pkg-config --cflags libpng16`
QMAKE_LIBS += `pkg-config --libs libpng16`
PKGCONFIG += libpng16
}

0 comments on commit 95041d2

Please sign in to comment.