From d0c4ec16b44e0d6d6889de6a3b44904e11cc0748 Mon Sep 17 00:00:00 2001
From: Dilawar Singh <dilawars@ncbs.res.in>
Date: Sun, 20 Nov 2016 14:44:10 +0530
Subject: [PATCH] Updated.

---
 CMakeLists.txt         | 2 ++
 build_moose-core.sh.in | 1 +
 moose-core/VERSION     | 2 +-
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 78f590d6..cde54519 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,7 +10,9 @@ option(WITH_BOOST "Use Boost libraries instead of GSL" OFF)
 option(WITH_CUDA "Use CUDA/GPU" OFF)
 option(WITH_MPI "Use MPI" OFF)
 
+# Required packages.
 find_package(PythonInterp REQUIRED)
+
 add_custom_target(moose ALL)
 
 ## intialize paths
diff --git a/build_moose-core.sh.in b/build_moose-core.sh.in
index 743243d1..84057cf7 100755
--- a/build_moose-core.sh.in
+++ b/build_moose-core.sh.in
@@ -17,6 +17,7 @@ echo "Building MOOSE"
     cd @PYMOOSE_BUILD_DIR@
     cmake -DCMAKE_INSTALL_PREFIX=@PYMOOSE_INSTALL_DIR@ \
         -DCMAKE_BUILD_TYPE=Release \
+        -DPYTHON_EXECUTABLE=@PYTHON_EXECUTABLE@ \
         @CMAKE_PYMOOSE_ARGS@ \
         @PYMOOSE_SOURCE_DIR@ 
     $MAKE
diff --git a/moose-core/VERSION b/moose-core/VERSION
index 11e8934c..64f91678 100644
--- a/moose-core/VERSION
+++ b/moose-core/VERSION
@@ -1 +1 @@
-3.1.1-71-g67012a1
\ No newline at end of file
+3.1.1-72-g42f15c9
\ No newline at end of file
-- 
GitLab