vcpkg/ports/microsoft-signalr/find-msgpack.patch
Cheney Wang 93fc361b39
[microsoft-signalr] Fix msgpackConfig.cmake is not found (#31085)
* [microsoft-signalr] Fix msgpackConfig.cmake not find

* Format
2023-04-25 22:46:39 -07:00

16 lines
429 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 676cde2..4562873 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -45,8 +45,8 @@ set(JSONCPP_LIB "jsoncpp_static" CACHE STRING "jsoncpp target name")
endif()
if(USE_MSGPACK)
- find_package(msgpack CONFIG REQUIRED)
- set(MSGPACK_LIB "msgpackc-cxx")
+ find_package(msgpack-cxx CONFIG REQUIRED)
+ set(MSGPACK_LIB "msgpack-cxx")
endif()
include_directories (include)