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

Handling MOOSE_VERSION is better way.

parent 705ee059
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.1.1")
set(_MOOSE_VERSION_ "3.2" )
# Options to pass down to moose-core
option(WITH_DOC "Build documentation" OFF)
......
......@@ -19,6 +19,7 @@ echo "Building MOOSE"
-DCMAKE_BUILD_TYPE=Release \
-DWITH_BOOST=@WITH_BOOST@ \
-DPYTHON_EXECUTABLE=@PYTHON_EXECUTABLE@ \
-DMOOSE_VERSION=@_MOOSE_VERSION_@ \
@CMAKE_PYMOOSE_ARGS@ \
@PYMOOSE_SOURCE_DIR@
$MAKE
......
set(CMAKE_LEGACY_CYGWIN_WIN32 0)
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
project(MOOSE)
project(pymoose)
if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
......
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