summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAlan Antonuk <aega@med.umich.edu>2011-11-04 11:32:38 -0400
committerAlan Antonuk <aega@med.umich.edu>2011-11-04 11:32:38 -0400
commite1cd16dfc37619a9a953f1e3e2ee611bb97ebec0 (patch)
tree0f69adcee801c97b29705c122426a71467aa8205 /CMakeLists.txt
parentf5ff8ec5fcebf819b8fbf8b20aff0ce2364553cc (diff)
downloadrabbitmq-c-github-ask-e1cd16dfc37619a9a953f1e3e2ee611bb97ebec0.tar.gz
codegen.py should be copied to the bin directory
Codegen.py should be copied to the bin directory and not the source directory.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9a03152..7601431 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -39,6 +39,7 @@ if (FETCH_CODEGEN_FROM_GIT)
ExternalProject_Get_Property(amqp_codegen SOURCE_DIR)
set(AMQP_CODEGEN_DIR ${SOURCE_DIR} CACHE PATH "Path to rabbitmq-codegen" FORCE)
+ SET(AMQP_CODEGEN_TARGET amqp_codegen)
message(STATUS "Using amqp_codegen.py in ${AMQP_CODEGEN_DIR}")
else (FETCH_CODEGEN_FROM_GIT)
find_path(RABBITMQ_CODEGEN_DIR