Add pkgconfig to cmake (#5744)
* Add pkgconfig to cmake * Move xgboost.pc.in to cmake/ Co-authored-by: Peter Jung <peter.jung@heureka.cz> Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu>
This commit is contained in:
12
cmake/xgboost.pc.in
Normal file
12
cmake/xgboost.pc.in
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
||||
Reference in New Issue
Block a user