diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 523a6aee561..c9e974491d5 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -311,8 +311,8 @@ target_link_libraries(migraphx PRIVATE nlohmann_json::nlohmann_json) find_package(SQLite3 REQUIRED) target_link_libraries(migraphx PRIVATE SQLite::SQLite3) -find_package(msgpack-cxx QUIET) -if(NOT msgpack-cxx_FOUND) +find_package(msgpackc-cxx QUIET) +if(NOT msgpackc-cxx_FOUND) find_package(msgpack REQUIRED) endif() target_link_libraries(migraphx PRIVATE msgpackc-cxx)