Skip to content

Commit

Permalink
Remove hard-coded reference to simbody in packaging script
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkewley committed Oct 11, 2024
1 parent 314cd29 commit 2fcc4aa
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions apps/osc/Debian/Packaging.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,11 @@ include(InstallRequiredSystemLibraries)
# bin/osc (exe)
set_target_properties(osc PROPERTIES INSTALL_RPATH "\$ORIGIN/../lib")

# HACK: Simbody has some sort of cmake configuration/module bug that
# prevents RUNTIME_DEPENDENCIES from correctly resolving it
# on Debian
find_package(Simbody REQUIRED CONFIG)
# install runtime libraries into the install directory
install(
TARGETS osc
RUNTIME_DEPENDENCIES
DIRECTORIES $<TARGET_FILE_DIR:SimTKcommon>
DIRECTORIES ${CMAKE_PREFIX_PATH}/lib
POST_EXCLUDE_REGEXES "^/usr/*" "^/lib/*" # don't copy system-provided dependencies
)

Expand Down

0 comments on commit 2fcc4aa

Please sign in to comment.