Skip to content
Snippets Groups Projects
Commit 005c018b authored by Atkins, Charles Vernon's avatar Atkins, Charles Vernon
Browse files

Block in-source-builds

parent 2ff88538
No related branches found
No related tags found
1 merge request!6Add mpi dependency
......@@ -4,6 +4,14 @@
#------------------------------------------------------------------------------#
cmake_minimum_required(VERSION 3.7)
# Fail immediately if not using an out-of-source build
if(CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_CURRENT_BINARY_DIR)
message(FATAL_ERROR
"In-source builds are not supported. Please create a build directory "
"separate from the source directory")
endif()
project(ADIOS VERSION 2.0.0)
#------------------------------------------------------------------------------#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment