summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--librabbitmq/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c333d0f..8c81668 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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 "")
diff --git a/librabbitmq/CMakeLists.txt b/librabbitmq/CMakeLists.txt
index afcc802..9885132 100644
--- a/librabbitmq/CMakeLists.txt
+++ b/librabbitmq/CMakeLists.txt
@@ -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(