From 45f504d3e24930eea540c4a0a76a64094c56fbda Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 2 Jan 2013 15:50:04 -0500 Subject: [PATCH] Fix looking for rc sources in toplevel binary directory --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c6d9fc1e..6f80cbdc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -410,7 +410,7 @@ foreach(source ${rc-sources}) endforeach() foreach(source ${rc-sources}) - list(APPEND sources ${CMAKE_BINARY_DIR}/${source}) + list(APPEND sources ${CMAKE_CURRENT_BINARY_DIR}/${source}) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/${source}.in ${CMAKE_CURRENT_BINARY_DIR}/${source}) endforeach() @@ -457,8 +457,6 @@ foreach(txt ${docs}) ${ASCIIDOC_EXECUTABLE} -d manpage -b xhtml11 - -f ${CMAKE_SOURCE_DIR}/doc/asciidoc.conf - -azmq_version=${ZMQ_VERSION} -f ${CMAKE_CURRENT_SOURCE_DIR}/doc/asciidoc.conf -azmq_version=${ZMQ_VERSION} -o ${dst}