Include cpack (#7160)

Co-authored-by: ptaylor <paul.e.taylor@me.com>
This commit is contained in:
AJ Schmidt 2021-08-06 12:57:34 -04:00 committed by GitHub
parent 8a84be37b8
commit f7003dc819
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -250,6 +250,8 @@ if (BUILD_C_DOC)
run_doxygen() run_doxygen()
endif (BUILD_C_DOC) endif (BUILD_C_DOC)
include(CPack)
include(GNUInstallDirs) include(GNUInstallDirs)
# Install all headers. Please note that currently the C++ headers does not form an "API". # Install all headers. Please note that currently the C++ headers does not form an "API".
install(DIRECTORY ${xgboost_SOURCE_DIR}/include/xgboost install(DIRECTORY ${xgboost_SOURCE_DIR}/include/xgboost