Skip to content
Snippets Groups Projects
Commit f54fffde authored by Dilawar Singh's avatar Dilawar Singh
Browse files

Pass moose version from command line BhallaLab/moose#200 .

parent a77c09fa
No related branches found
No related tags found
No related merge requests found
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
PROJECT(MOOSE)
set(MOOSE_VERSION "3.0.2")
set(MOOSE_VERSION "3.1.1")
include( ExternalProject )
......@@ -30,6 +30,7 @@ ExternalProject_Add(
SOURCE_DIR ${CMAKE_SOURCE_DIR}/moose-core
BINARY_DIR ${MOOSE_CORE_BUILD_DIR}
CMAKE_ARGS -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
-DVERSION=${MOOSE_VERSION}
-DCMAKE_INSTALL_PREFIX=${MOOSE_CORE_INSTALL_DIR}
-DPYTHON_EXECUTABLE=${PYTHON_EXECUTABLE}
-DDEBUG=${DEBUG}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment