From 67c2784522cd057920b8bf0e2fd2e10d66169b5c Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 18 May 2017 12:00:45 -0400 Subject: [PATCH] try putting it into a script --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6bcbdac6c..630030466 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}\")