* Add pkgconfig to cmake * Move xgboost.pc.in to cmake/ Co-authored-by: Peter Jung <peter@jung.ninja> Co-authored-by: Peter Jung <peter.jung@heureka.cz> Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu>
13 lines
284 B
PkgConfig
13 lines
284 B
PkgConfig
prefix=@CMAKE_INSTALL_PREFIX@
|
|
version=@xgboost_VERSION@
|
|
exec_prefix=${prefix}/bin
|
|
libdir=${prefix}/lib
|
|
includedir=${prefix}/include
|
|
|
|
Name: xgboost
|
|
Description: XGBoost - Scalable and Flexible Gradient Boosting.
|
|
Version: ${version}
|
|
|
|
Cflags: -I${includedir}
|
|
Libs: -L${libdir} -lxgboost
|