diff --git a/Formula/libmusicbrainz.rb b/Formula/libmusicbrainz.rb index 0200a25910a..96ac8341b45 100644 --- a/Formula/libmusicbrainz.rb +++ b/Formula/libmusicbrainz.rb @@ -1,15 +1,17 @@ require 'formula' class Libmusicbrainz :optional def install - system "cmake . #{std_cmake_parameters}" + neon = Formula.factory("neon") + neon_args = "-DNEON_LIBRARIES:FILEPATH=#{neon.lib}/libneon.dylib -DNEON_INCLUDE_DIR:PATH=#{neon.include}/neon" + + system "cmake . #{std_cmake_parameters} #{neon_args}" system "make install" end end \ No newline at end of file