Skip to content

Instantly share code, notes, and snippets.

@yannick
Created February 15, 2018 12:02
Show Gist options
  • Select an option

  • Save yannick/58da05e32efea3d10ee6531eca43d7ae to your computer and use it in GitHub Desktop.

Select an option

Save yannick/58da05e32efea3d10ee6531eca43d7ae to your computer and use it in GitHub Desktop.
cmake.txt
include(ExternalProject)
ExternalProject_Add(librdkafka-git
GIT_REPOSITORY https://github.com/edenhill/librdkafka.git
GIT_TAG v0.11.3
INSTALL_COMMAND ""
CMAKE_ARGS -DRDKAFKA_BUILD_EXAMPLES=OFF -DRDKAFKA_BUILD_TESTS=OFF -DRDKAFKA_BUILD_STATIC=1
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment