From e054a2e4f24d56ff3d737df9776d6ffeb829e2aa Mon Sep 17 00:00:00 2001 From: XiaoGuang Zeng Date: Thu, 3 Mar 2011 16:10:51 +0800 Subject: generate config.h in binary dir instead of source dir --- librabbitmq/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- cgit v1.2.1