Skip to content

Commit

Permalink
Fix include paths for java
Browse files Browse the repository at this point in the history
  • Loading branch information
Dušan Baran committed Dec 17, 2024
1 parent 415fff8 commit c69c63b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apis/java/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ find_library(TILEDBVCF_LIBRARY
)
find_path(TILEDBVCF_INCLUDE_DIR
NAMES
tiledbvcf.h
tiledbvcf/tiledbvcf.h
PATH_SUFFIXES include
)
include(FindPackageHandleStandardArgs)
Expand Down
2 changes: 1 addition & 1 deletion apis/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ if (NOT TARGET tiledbvcf)
REQUIRED
NAMES tiledbvcf.h
PATHS ${tiledbvcf_DIR}
PATH_SUFFIXES include
PATH_SUFFIXES include/tiledbvcf
)
add_library(tiledbvcf SHARED IMPORTED)
set_target_properties(tiledbvcf PROPERTIES
Expand Down
5 changes: 2 additions & 3 deletions libtiledbvcf/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -270,11 +270,10 @@ install(

install(
TARGETS tiledbvcf
FILE_SET HEADERS DESTINATION "${LOCAL_INSTALL_PREFIX}include"
RUNTIME DESTINATION "${LOCAL_INSTALL_PREFIX}"
LIBRARY DESTINATION "${LOCAL_INSTALL_PREFIX}lib"
FILE_SET HEADERS DESTINATION "${LOCAL_INSTALL_PREFIX}include"
PUBLIC_HEADER DESTINATION "${LOCAL_INSTALL_PREFIX}include"
FILE_SET HEADERS DESTINATION "${LOCAL_INSTALL_PREFIX}include/tiledbvcf"
PUBLIC_HEADER DESTINATION "${LOCAL_INSTALL_PREFIX}include/tiledbvcf"
)

if (TILEDBVCF_SET_RPATH)
Expand Down

0 comments on commit c69c63b

Please sign in to comment.