Skip to content

Commit

Permalink
fix issues with manifest (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
hmacdope authored Oct 24, 2022
1 parent b2b2fd1 commit 8b76669
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Manifest.in → MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include setup.py
include README.md
include LICENSE.txt
include CMakeLists.txt
incldue requirements.txt
include requirements.txt
include pyproject.toml
include setup.cfg
global-include CMakeLists.txt
Expand Down
7 changes: 5 additions & 2 deletions libdistopia/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,10 @@ set_target_properties(libdistopia

# cmake will append the name lib already , avoid liblibdistopia
set_target_properties(libdistopia PROPERTIES OUTPUT_NAME distopia)
set_target_properties(libdistopia PROPERTIES INSTALL_RPATH "\$ORIGIN")

if(APPLE)
set_target_properties(libdistopia PROPERTIES INSTALL_RPATH "@loader_path")
else()
set_target_properties(libdistopia PROPERTIES INSTALL_RPATH "\$ORIGIN")
endif()
install(TARGETS libdistopia
DESTINATION distopia)

0 comments on commit 8b76669

Please sign in to comment.