diff options
author | Alan Antonuk <alan.antonuk@gmail.com> | 2012-10-20 01:26:44 -0400 |
---|---|---|
committer | Alan Antonuk <alan.antonuk@gmail.com> | 2012-10-20 02:45:27 -0400 |
commit | 3b5fe03234feace45ad15af1a90889755c6ce7f5 (patch) | |
tree | 851e7425827c9dfcb23372a457c58d3ad0abd591 /CMakeLists.txt | |
parent | 511c9398539f30e6ebbee243112b29674b76581c (diff) | |
download | rabbitmq-c-github-ask-3b5fe03234feace45ad15af1a90889755c6ce7f5.tar.gz |
cmake: configure config.h instead of generating it
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a55dbd0..065f5db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -217,6 +217,7 @@ set(exec_prefix ${CMAKE_INSTALL_PREFIX}/bin) set(libdir ${CMAKE_INSTALL_PREFIX}/lib) set(includedir ${CMAKE_INSTALL_PREFIX}/include) +configure_file(cmake/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/librabbitmq/config.h) configure_file(librabbitmq.pc.in ${CMAKE_CURRENT_BINARY_DIR}/librabbitmq.pc @ONLY) install(FILES |