build: install cmake config files to enable cmake find_package (#11)

* build: install cmake config files to enable cmake find_package

* fix: destination for header files
This commit is contained in:
Carlos Gomes Martinho
2019-12-31 19:59:29 +01:00
committed by Steve Karg
parent ac491d4d39
commit 221ff7fa3e
3 changed files with 116 additions and 52 deletions
+4
View File
@@ -0,0 +1,4 @@
@PACKAGE_INIT@
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
check_required_components("@PROJECT_NAME@")