Skip to content
Snippets Groups Projects
Commit 00c8e7b6 authored by Stephan Schulz's avatar Stephan Schulz
Browse files

enable CMAKE_ALL_USE_F08

parent 3a2b9c9f
No related branches found
No related tags found
1 merge request!8Refactor
...@@ -4,6 +4,7 @@ option(CM_ALL_VTK_OUTPUT "VTK output routine" OFF) ...@@ -4,6 +4,7 @@ option(CM_ALL_VTK_OUTPUT "VTK output routine" OFF)
option(CM_ALL_VORONOI "Voronoi-based loadbalancing scheme (requires Voro++)" OFF) option(CM_ALL_VORONOI "Voronoi-based loadbalancing scheme (requires Voro++)" OFF)
option(CM_ALL_FORTRAN "VTK output routine" OFF) option(CM_ALL_FORTRAN "VTK output routine" OFF)
option(CM_ALL_DEBUG "Enable debug information" OFF) option(CM_ALL_DEBUG "Enable debug information" OFF)
option(CM_ALL_USE_F08 "Use some Fortran 2008 features (mpi_f08)" OFF)
# leading and trailing whitespace should be silently ignored # leading and trailing whitespace should be silently ignored
# thanks to an old FindMPI script # thanks to an old FindMPI script
...@@ -35,6 +36,10 @@ if (CM_ALL_DEBUG) ...@@ -35,6 +36,10 @@ if (CM_ALL_DEBUG)
add_compile_options("-DALL_DEBUG_ENABLED") add_compile_options("-DALL_DEBUG_ENABLED")
endif(CM_ALL_DEBUG) endif(CM_ALL_DEBUG)
if(CM_ALL_USE_F08)
add_compile_options("-DALL_USE_F08")
endif(CM_ALL_USE_F08)
if(CM_ALL_VORONOI) if(CM_ALL_VORONOI)
message(STATUS "compiling voro++ version in contrib/voro++") message(STATUS "compiling voro++ version in contrib/voro++")
add_subdirectory(contrib/voro++) add_subdirectory(contrib/voro++)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment