Skip to content

Commit

Permalink
fix relocatable include in CMakeList (#6734) (#6737)
Browse files Browse the repository at this point in the history
  • Loading branch information
kangsheng89 committed Feb 27, 2021
1 parent 1fa6793 commit 9c85234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ endif (HIDE_CXX_SYMBOLS)

target_include_directories(xgboost
INTERFACE
$<INSTALL_INTERFACE:${CMAKE_INSTALL_PREFIX}/include>
$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>)

# This creates its own shared library `xgboost4j'.
Expand Down

0 comments on commit 9c85234

Please sign in to comment.