Permalink
Browse files

Make codegen pull a dependancy of librabbitmq

  • Loading branch information...
1 parent 89db105 commit 29a50a82088a02302a4838b060edc10ee6ef2843 @alanxz alanxz committed Nov 1, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 CMakeLists.txt
  2. +1 −1 librabbitmq/CMakeLists.txt
View
@@ -31,8 +31,8 @@ if (FETCH_CODEGEN_FROM_GIT)
amqp_codegen
GIT_REPOSITORY https://github.com/rabbitmq/rabbitmq-codegen.git
GIT_TAG ${CODEGEN_GIT_TAG}
- SOURCE_DIR amqp_codegen
CONFIGURE_COMMAND ""
+ UPDATE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
TEST_COMMAND "")
@@ -11,7 +11,7 @@ set(AMQP_SPEC_JSON_PATH "${AMQP_CODEGEN_DIR}/amqp-rabbitmq-0.9.1.json")
add_custom_command(
OUTPUT ${CODEGEN_PY}
COMMAND ${CMAKE_COMMAND} ARGS -E copy ${CMAKE_CURRENT_SOURCE_DIR}/codegen.py ${CODEGEN_PY}
- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/codegen.py
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/codegen.py ${AMQP_CODEGEN_DIR} amqp_codegen
VERBATIM)
add_custom_command(

0 comments on commit 29a50a8

Please sign in to comment.