Skip to content

Commit

Permalink
fix(build): remove check_required_components for meson build
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed Sep 19, 2024
1 parent 8214f71 commit 3d47db0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ if(JSONCPP_WITH_PKGCONFIG_SUPPORT)
DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
endif()

include(CMakePackageConfigHelpers)
if(JSONCPP_WITH_CMAKE_PACKAGE)
include(CMakePackageConfigHelpers)
install(EXPORT jsoncpp
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/jsoncpp
FILE jsoncpp-targets.cmake)
Expand Down
2 changes: 0 additions & 2 deletions jsoncppConfig.cmake.meson.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@
@MESON_STATIC_TARGET@

include ( "${CMAKE_CURRENT_LIST_DIR}/jsoncpp-namespaced-targets.cmake" )

check_required_components(JsonCpp)

0 comments on commit 3d47db0

Please sign in to comment.