Update CMakeLists.txt

This commit is contained in:
Silvio Traversaro 2023-01-10 10:02:33 +01:00 committed by GitHub
parent 5ae6077234
commit 52fa74804c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ project (example)
if(EXAMPLE_MSGPACK_EMBEDDED)
add_subdirectory(msgpack-c)
set(msgpack_DIR ${CMAKE_CURRENT_BINARY_DIR}/msgpack-c)
set(msgpackc_DIR ${CMAKE_CURRENT_BINARY_DIR}/msgpack-c)
endif()
find_package(msgpackc REQUIRED)