From b8673be3346401d5160fea937cb89c081f58c089 Mon Sep 17 00:00:00 2001
From: Dilawar Singh <dilawars@ncbs.res.in>
Date: Sun, 23 Apr 2017 14:51:41 +0530
Subject: [PATCH] Fixed to cmake which were causing launchpad failure.

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2ee89792..64c6ac8c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -86,7 +86,7 @@ install(DIRECTORY ${MOOSE_EXAMPLE_DIR}/
     )
 
 # Copy the command to launch moose.
-file(COPY ${CMAKE_SOURCE_DIR}/moose DESTINATION ${CMAKE_BINARY_DIR})
+configure_file(${CMAKE_SOURCE_DIR}/cmake/moose.in ${CMAKE_BINARY_DIR}/moose)
 
 install(PROGRAMS ${CMAKE_BINARY_DIR}/moose DESTINATION bin)
 
-- 
GitLab