Skip to content

Commit b8c8f07

Browse files
committed
libaec: remove workaround to expose CMake config files
1 parent 20677e7 commit b8c8f07

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

Formula/lib/libaec.rb

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,6 @@ def install
3333
system "cmake", "--build", "build"
3434
system "ctest", "--test-dir", "build", "--verbose"
3535
system "cmake", "--install", "build"
36-
37-
# Symlink CMake files to a common linked location. Similar to Linux distros
38-
# like Arch Linux[^1] and Alpine[^2], but we add an extra subdirectory so that
39-
# CMake can automatically find them using the default search procedure[^3].
40-
#
41-
# [^1]: https://gitlab.archlinux.org/archlinux/packaging/packages/libaec/-/blob/main/PKGBUILD?ref_type=heads#L25
42-
# [^2]: https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/libaec/APKBUILD#L43
43-
# [^3]: https://cmake.org/cmake/help/latest/command/find_package.html#config-mode-search-procedure
44-
(lib/"cmake").install_symlink prefix/"cmake" => "libaec"
4536
end
4637

4738
test do
@@ -78,7 +69,7 @@ def install
7869

7970
# Test CMake config package can be automatically found
8071
(testpath/"CMakeLists.txt").write <<~CMAKE
81-
cmake_minimum_required(VERSION 3.5)
72+
cmake_minimum_required(VERSION 3.10)
8273
project(test LANGUAGES CXX)
8374
8475
find_package(libaec CONFIG REQUIRED)

0 commit comments

Comments
 (0)