Skip to content

Commit

Permalink
Fix cufilejni build include path (#9168)
Browse files Browse the repository at this point in the history
fix #9167

verified locally w/ `ENABLE_GDS=ON`

Authors:
  - Peixin (https://github.com/pxLi)

Approvers:
  - Tim Liu (https://github.com/NvTimLiu)

URL: #9168
  • Loading branch information
pxLi authored Sep 2, 2021
1 parent 55e1e40 commit cc71087
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion java/src/main/native/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,10 @@ if(USE_GDS)
CXX_STANDARD 17
CXX_STANDARD_REQUIRED ON
)
target_include_directories(cufilejni PRIVATE "${cuFile_INCLUDE_DIRS}")
target_include_directories(cufilejni
PUBLIC "${LIBCUDACXX_INCLUDE}"
"${CUDF_INCLUDE}"
PRIVATE "${cuFile_INCLUDE_DIRS}")
target_link_libraries(cufilejni PRIVATE cudfjni "${cuFile_LIBRARIES}")
endif()

Expand Down

0 comments on commit cc71087

Please sign in to comment.