diff options
author | XiaoGuang Zeng <xgzeng@gmail.com> | 2011-03-03 16:10:51 +0800 |
---|---|---|
committer | XiaoGuang Zeng <xgzeng@gmail.com> | 2011-03-03 16:10:51 +0800 |
commit | e054a2e4f24d56ff3d737df9776d6ffeb829e2aa (patch) | |
tree | 5ba527554bb1e2bb3e4e73a377c43309014299b3 | |
parent | 1336e40d43905c1934d3b4717e8f03a4c341588f (diff) | |
download | rabbitmq-c-github-ask-e054a2e4f24d56ff3d737df9776d6ffeb829e2aa.tar.gz |
generate config.h in binary dir instead of source dir
-rw-r--r-- | librabbitmq/CMakeLists.txt | 2 |
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") |