add cmake w/ relocatable pkgconfig installation (#53)

This commit is contained in:
David Hirvonen
2018-01-07 17:49:39 -05:00
committed by Tianqi Chen
parent 2eb1a1a371
commit 0759d5ed2b
3 changed files with 125 additions and 1 deletions

4
cmake/Config.cmake.in Normal file
View File

@@ -0,0 +1,4 @@
@PACKAGE_INIT@
include("${CMAKE_CURRENT_LIST_DIR}/@TARGETS_EXPORT_NAME@.cmake")
check_required_components("@PROJECT_NAME@")