diff --git a/Formula/freecad@1.0.0_py312.rb b/Formula/freecad@1.0.0_py312.rb index 4da9434..1d804ed 100644 --- a/Formula/freecad@1.0.0_py312.rb +++ b/Formula/freecad@1.0.0_py312.rb @@ -84,7 +84,6 @@ class FreecadAT100Py312 < Formula depends_on "freecad/freecad/swig@4.2.1" => :build depends_on "gcc" => :build # gfortran req for FEM WB depends_on "lld" => :build if OS.linux? - depends_on "llvm" => :build if OS.linux? depends_on "mesa" => :build if OS.linux? depends_on "ninja" => :build if OS.linux? depends_on "pkg-config" => :build @@ -104,6 +103,8 @@ 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? depends_on "nlohmann-json" @@ -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 @@ -216,6 +218,7 @@ def install cmake_prefix_paths << Formula["mesa"].prefix cmake_prefix_paths << Formula["libx11"].prefix cmake_prefix_paths << Formula["libxcb"].prefix + cmake_prefix_paths << Formula["llvm"].prefix end cmake_prefix_path_string = cmake_prefix_paths.join(";")