Skip to content

Commit

Permalink
fix: disable build examples in msgpack
Browse files Browse the repository at this point in the history
  • Loading branch information
gikari committed Dec 10, 2022
1 parent 65c9423 commit dcdaa69
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions third-party/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ FetchContent_Declare(
URL_HASH SHA256=ff865a36bad5c72b8e7ebc4b7cf5f27a820fce4faff9c571c1791e3728355a39
)

set(MSGPACK_BUILD_EXAMPLES OFF)

FetchContent_MakeAvailable(msgpackc)
FetchContent_GetProperties(msgpackc)
if(NOT msgpackc_POPULATED)
FetchContent_Populate(msgpackc)

set(MSGPACK_BUILD_EXAMPLES OFF)

add_subdirectory(${msgpackc_SOURCE_DIR} ${msgpackc_BINARY_DIR} EXCLUDE_FROM_ALL)
endif()

0 comments on commit dcdaa69

Please sign in to comment.