8000 libkml: make `boost` a `:build` and `:test` dep · ArduinoBot/homebrew-core@be12de1 · GitHub
[go: up one dir, main page]

Skip to content

Commit be12de1

Browse files
committed
libkml: make boost a :build and :test dep
See discussions in Homebrew#128083.
1 parent 16c3fc9 commit be12de1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Formula/libkml.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ class Libkml < Formula
1616
sha256 cellar: :any_skip_relocation, x86_64_linux: "81a8cdd08aa6620f894eae9b3bd37184bb08f25800aba660c234320e4b51ef75"
1717
end
1818

19+
depends_on "boost" => [:build, :test]
1920
depends_on "cmake" => :build
2021
depends_on "googletest" => :test
2122
depends_on "pkg-config" => :test
22-
depends_on "boost"
2323
depends_on "minizip"
2424
depends_on "uriparser"
2525

@@ -32,6 +32,12 @@ def install
3232
system "cmake", "--install", "build"
3333
end
3434

35+
def caveats
36+
<<~EOS
37+
libkml uses boost headers. To develop with libkml, install boost.
38+
EOS
39+
end
40+
3541
test do
3642
(testpath/"test.cpp").write <<~EOS
3743
#include "kml/regionator/regionator_qid.h"

0 commit comments

Comments
 (0)
0