Skip to content

Commit

Permalink
support msgpack 6.0 (#6269)
Browse files Browse the repository at this point in the history
msgpack 6.0 changed the cmake config. This PR adds that support.
  • Loading branch information
cielavenir authored Aug 9, 2023
1 parent 179886d commit f8fbef1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions 3rdparty/find_dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1456,9 +1456,15 @@ endif()
# msgpack
if(USE_SYSTEM_MSGPACK)
open3d_find_package_3rdparty_library(3rdparty_msgpack
PACKAGE msgpack
TARGETS msgpackc
PACKAGE msgpack-cxx
TARGETS msgpack-cxx
)
if(NOT 3rdparty_msgpack_FOUND)
open3d_find_package_3rdparty_library(3rdparty_msgpack
PACKAGE msgpack
TARGETS msgpackc
)
endif()
if(NOT 3rdparty_msgpack_FOUND)
open3d_pkg_config_3rdparty_library(3rdparty_msgpack
SEARCH_ARGS msgpack
Expand Down

0 comments on commit f8fbef1

Please sign in to comment.