Skip to content
Snippets Groups Projects
Commit d1c7c9da authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

new CMakeLists file for demos

parent 3b1e580b
No related branches found
No related tags found
No related merge requests found
......@@ -14,10 +14,10 @@ endif(AMDIS_FOUND)
find_path(TOOLS_DIR NAMES "baseProblem" "diffuseDomain" DOC "path to tools directory in AMDiS-trunk dir" NO_DEFAULT_PATH)
if (TOOLS_DIR)
if (NOT EXISTS ${TOOLS_DIR}/diffuseDomain/Helpers.h OR NOT EXISTS ${TOOLS_DIR}/baseProblems/BaseProblem.h)
message(FATAL_ERROR "wrong tools directory! Directory must contain the subdirectories 'diffuseDomain' and 'baseProblems'")
message(FATAL_ERROR "Wrong tools directory! Directory must contain the subdirectories 'diffuseDomain' and 'baseProblems'")
endif()
else()
message(FATAL_ERROR "no tools-directory specified!")
message(FATAL_ERROR "No tools-directory specified!")
endif(TOOLS_DIR)
include_directories(${TOOLS_DIR}/diffuseDomain)
......
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