try putting it into a script

pull/3038/head
Isaac Connor 2017-05-18 12:00:45 -04:00
parent fc704f5864
commit 67c2784522
1 changed files with 1 additions and 1 deletions

View File

@ -838,7 +838,7 @@ else(zmconfgen_result EQUAL 0)
endif(zmconfgen_result EQUAL 0)
# Install zm.conf
install(SCRIPT "
install(CODE "
if (NOT EXISTS \"${ZM_CONFIG_DIR}/zm.conf\")
message(STATUS \"No zm.conf at ${CMAKE_CURRENT_BINARY_DIR}/zm.conf. Will install a new zm.conf\")
install(FILES \"${CMAKE_CURRENT_BINARY_DIR}/zm.conf\" DESTINATION \"${ZM_CONFIG_DIR}\")