From 2a0e3b5c8190691fac779b7b65ad7fdd53661290 Mon Sep 17 00:00:00 2001 From: chris Date: Mon, 23 Dec 2024 13:01:04 -0600 Subject: [PATCH] freecad@1.0.0_py312: add libomp as a runtime dep for linux and add to cmake_prefix_path --- Formula/freecad@1.0.0_py312.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Formula/freecad@1.0.0_py312.rb b/Formula/freecad@1.0.0_py312.rb index b5774c3..1d804ed 100644 --- a/Formula/freecad@1.0.0_py312.rb +++ b/Formula/freecad@1.0.0_py312.rb @@ -103,6 +103,7 @@ class FreecadAT100Py312 < Formula depends_on "glew" depends_on "hdf5" depends_on "icu4c" + depends_on "libomp" if OS.linux? depends_on "llvm" if OS.linux? depends_on macos: :high_sierra depends_on "mesa-glu" if OS.linux? @@ -191,6 +192,7 @@ def install cmake_prefix_paths << Formula["hdf5"].prefix cmake_prefix_paths << Formula["icu4c"].prefix cmake_prefix_paths << Formula["libjpeg-turbo"].prefix + cmake_prefix_paths << Formula["libomp"].prefix cmake_prefix_paths << Formula["libpng"].prefix cmake_prefix_paths << Formula["libtiff"].prefix cmake_prefix_paths << Formula["lz4"].prefix