Skip to content

Commit

Permalink
poppler: qt5 option needs c++11 (#6004)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovezfs committed Oct 17, 2016
1 parent 32a0cbc commit be2d21e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Formula/poppler.rb
Expand Up @@ -38,8 +38,10 @@ class Poppler < Formula
sha256 "e752b0d88a7aba54574152143e7bf76436a7ef51977c55d6bd9a48dccde3a7de"
end

needs :cxx11 if build.with?("qt5") || MacOS.version < :mavericks

def install
ENV.cxx11 if MacOS.version < :mavericks
ENV.cxx11 if build.with?("qt5") || MacOS.version < :mavericks
ENV["LIBOPENJPEG_CFLAGS"] = "-I#{Formula["openjpeg"].opt_include}/openjpeg-2.1"

args = %W[
Expand Down

0 comments on commit be2d21e

Please sign in to comment.