summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--librabbitmq/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/librabbitmq/CMakeLists.txt b/librabbitmq/CMakeLists.txt
index 9670280..d6af3da 100644
--- a/librabbitmq/CMakeLists.txt
+++ b/librabbitmq/CMakeLists.txt
@@ -19,7 +19,7 @@ add_custom_command(
VERBATIM)
#prepare config.h
-file(WRITE "config.h" "#define VERSION \"0.0.1\"")
+file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/config.h" "#define VERSION \"0.0.1\"")
include_directories("unix")