Skip to content

Commit

Permalink
Fix issue with auditwheel
Browse files Browse the repository at this point in the history
  • Loading branch information
dudoslav committed Oct 22, 2024
1 parent 9af5a7e commit 4e003f4
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions libtiledbvcf/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ set(TILEDB_VCF_PUBLIC_HEADERS
############################################################

add_executable(tiledbvcf-bin
EXCLUDE_FROM_ALL
${CMAKE_CURRENT_SOURCE_DIR}/cli/tiledbvcf.cc
)

Expand Down Expand Up @@ -244,11 +245,11 @@ set_target_properties(tiledbvcf
include(GNUInstallDirs)

# Set rpath to be relative to the .so.
if (APPLE)
set_target_properties(tiledbvcf PROPERTIES INSTALL_RPATH "@loader_path/")
else()
set_target_properties(tiledbvcf PROPERTIES INSTALL_RPATH "$ORIGIN/")
endif()
#if (APPLE)
# set_target_properties(tiledbvcf PROPERTIES INSTALL_RPATH "@loader_path/")
#else()
# set_target_properties(tiledbvcf PROPERTIES INSTALL_RPATH "$ORIGIN/")
#endif()

#set_property(
# TARGET tiledbvcf-bin
Expand Down

0 comments on commit 4e003f4

Please sign in to comment.