Skip to content

Commit

Permalink
sundials: fix_apple_shared_install_name()
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Jan 11, 2024
1 parent c46c105 commit fe66f12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes/sundials/all/conanfile.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from conan import ConanFile
from conan.tools.apple import fix_apple_shared_install_name
from conan.tools.cmake import CMake, CMakeToolchain, cmake_layout
from conan.tools.files import copy, get, mkdir, rmdir
from conan.tools.scm import Version
Expand Down Expand Up @@ -87,6 +88,7 @@ def package(self):
for dll_path in glob.glob(os.path.join(self.package_folder, "lib", "*.dll")):
shutil.move(dll_path, os.path.join(self.package_folder, "bin", os.path.basename(dll_path)))
rmdir(self, os.path.join(self.package_folder, "lib", "cmake"))
fix_apple_shared_install_name(self)

def package_info(self):
self.cpp_info.components["sundials_nvecmanyvector"].libs = ["sundials_nvecmanyvector"]
Expand Down

0 comments on commit fe66f12

Please sign in to comment.