mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 12:31:37 +08:00
30 lines
941 B
Diff
30 lines
941 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)
|
|
diff --git a/src/signalrclient/microsoft-signalr-config.in.cmake b/src/signalrclient/microsoft-signalr-config.in.cmake
|
|
index b28235b..09a7d56 100644
|
|
--- a/src/signalrclient/microsoft-signalr-config.in.cmake
|
|
+++ b/src/signalrclient/microsoft-signalr-config.in.cmake
|
|
@@ -7,7 +7,7 @@ endif()
|
|
find_dependency(jsoncpp)
|
|
|
|
if(@USE_MSGPACK@)
|
|
- find_dependency(msgpack)
|
|
+ find_dependency(msgpack-cxx CONFIG)
|
|
endif()
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/microsoft-signalr-targets.cmake")
|
|
\ No newline at end of file
|