From 8930cc64a03ddd8c70fcc03ff9e1f37056f55c0a Mon Sep 17 00:00:00 2001 From: Simon Praetorius <simon.praetorius@tu-dresden.de> Date: Fri, 29 Jun 2012 11:43:39 +0000 Subject: [PATCH] pfc demo updated --- demo/CMakeLists.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/demo/CMakeLists.txt b/demo/CMakeLists.txt index 3dd1a835..decc784d 100644 --- a/demo/CMakeLists.txt +++ b/demo/CMakeLists.txt @@ -72,14 +72,15 @@ target_link_libraries("vecheat" ${BASIS_LIBS}) install(TARGETS vecheat RUNTIME DESTINATION bin) # find tools-directory -find_path(TOOLS_DIR NAMES "baseProblem/BaseProblem.h" "diffuseDomain/Helpers.h" DOC "Path to tools directory in AMDiS-trunk dir" ) +find_path(TOOLS_DIR NAMES "baseProblem/BaseProblem.h" "misc/Helpers.h" DOC "Path to tools directory in AMDiS-trunk dir" ) if (TOOLS_DIR) - if (NOT EXISTS ${TOOLS_DIR}/diffuseDomain/Helpers.h OR NOT EXISTS ${TOOLS_DIR}/baseProblems/BaseProblem.h) + if (NOT EXISTS ${TOOLS_DIR}/misc/Helpers.h OR NOT EXISTS ${TOOLS_DIR}/baseProblems/BaseProblem.h) message(WARNING "Wrong tools directory! Directory must contain the subdirectories 'diffuseDomain' and 'baseProblems'") else() include_directories(${TOOLS_DIR}/diffuseDomain) include_directories(${TOOLS_DIR}/baseProblems) + include_directories(${TOOLS_DIR}/misc) set(elliptBase src/elliptBaseProblem.cc) add_executable("elliptBase" ${elliptBase}) @@ -93,7 +94,7 @@ if (TOOLS_DIR) add_executable("cahn_hilliard" ${cahn_hilliard}) target_link_libraries("cahn_hilliard" ${BASIS_LIBS}) - set(pfc src/pfc.cc ${TOOLS_DIR}/baseProblems/PhaseFieldCrystal_Base.cc ${TOOLS_DIR}/diffuseDomain/Helpers.cc) + set(pfc src/pfc.cc ${TOOLS_DIR}/baseProblems/PhaseFieldCrystal_Base.cc ${TOOLS_DIR}/misc/Helpers.cc) add_executable("pfc" ${pfc}) target_link_libraries("pfc" ${BASIS_LIBS}) -- GitLab