ACK
On 09/05/2011 09:09 PM, Adam Stokes wrote:
- currently if we have certain shell script variables defined like the array ${array[@]} cmake presents a malformed error message where it thinks we are missing the closing '}'. correct this by using @ONLY so cmake only cares about @VAR@ when doing its string replacements.
Signed-off-by: Adam Stokesastokes@fedoraproject.org
CMakeLists.txt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt index f7555b4..54694d1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -116,10 +116,10 @@ else(WIN32) ${CMAKE_CURRENT_BINARY_DIR}/matahari.init)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/matahari-broker.init.in
${CMAKE_CURRENT_BINARY_DIR}/matahari-broker)
${CMAKE_CURRENT_BINARY_DIR}/matahari-broker @ONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/matahari-broker.sysconf.in
${CMAKE_CURRENT_BINARY_DIR}/matahari-broker.sysconf)
${CMAKE_CURRENT_BINARY_DIR}/matahari-broker.sysconf @ONLY)
install(DIRECTORY DESTINATION ${localstatedir}/lib/matahari DIRECTORY_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE