Create a jsoncppConfig.cmake file, even if building under meson (#1486)

* Create a jsoncppConfig.cmake file, even if building under meson

* Hardcode many fewer things in the meson-generated cmake files

* use join_paths for constructing paths in the output Config.cmake

---------

Co-authored-by: Jordan Bayles <bayles.jordan@gmail.com>
This commit is contained in:
Woodrow Douglass
2024-09-09 23:08:12 -04:00
committed by GitHub
parent f459022786
commit 4b1bd4405e
2 changed files with 46 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
@PACKAGE_INIT@
@MESON_SHARED_TARGET@
@MESON_STATIC_TARGET@
include ( "${CMAKE_CURRENT_LIST_DIR}/jsoncpp-namespaced-targets.cmake" )
check_required_components(JsonCpp)