From 9a757d3ef97c3e7515fcb28e37d96255a693432d Mon Sep 17 00:00:00 2001
From: Andreas Naumann <andreas.naumann@tu-dresden.de>
Date: Fri, 15 Apr 2011 08:45:34 +0000
Subject: [PATCH] problem with capital i

---
 AMDiS/AMDiSConfig.cmake.in | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/AMDiS/AMDiSConfig.cmake.in b/AMDiS/AMDiSConfig.cmake.in
index d1184290..5e08a732 100644
--- a/AMDiS/AMDiSConfig.cmake.in
+++ b/AMDiS/AMDiSConfig.cmake.in
@@ -26,26 +26,26 @@
 
 
 #try to detect the AMDiS include directory
-find_file(_AMDiS_H AMDiS.h PATHS ${AMDIS_INCLUDE_DIR} ${AMDiS_DIR}/../../include/amdis/ /usr/include/amdis/)
-if(_AMDiS_H)
-	get_filename_component(AMDIS_INCLUDE_DIR ${_AMDiS_H} PATH CACHE)
+find_file(_AMDIS_H AMDiS.h PATHS ${AMDIS_INCLUDE_DIR} ${AMDIS_DIR}/../../include/amdis/ /usr/include/amdis/)
+if(_AMDIS_H)
+	get_filename_component(AMDIS_INCLUDE_DIR ${_AMDIS_H} PATH CACHE)
 	set(AMDIS_INCLUDE_DIRS ${AMDIS_INCLUDE_DIR})
 else()
 	message(ERROR "could not detect the AMDiS include directory. Please set the variable AMDIS_INCLUDE_DIR to the directory containing the AMDiS headers.")
 endif()
-unset(_AMDiS_H CACHE)
+unset(_AMDIS_H CACHE)
 set(MTL_DIR ${AMDIS_INCLUDE_DIR}/mtl4 CACHE PATH "the mtl directory")
 list(APPEND AMDIS_INCLUDE_DIRS ${MTL_DIR})
 
-find_library(_AMDiS_LIB amdis PATHS ${AMDIS_LIBRARY_DIR} ${AMDiS_DIR}/../../lib/amdis/ /usr/include/amdis)
-if(_AMDiS_LIB)
-	get_filename_component(AMDIS_LIBRARY_DIR ${_AMDiS_LIB} PATH CACHE)
+find_library(_AMDIS_LIB amdis PATHS ${AMDIS_LIBRARY_DIR} ${AMDIS_DIR}/../../lib/amdis/ /usr/include/amdis)
+if(_AMDIS_LIB)
+	get_filename_component(AMDIS_LIBRARY_DIR ${_AMDIS_LIB} PATH CACHE)
 	set(AMDIS_LIBRARY_DIRS ${AMDIS_LIBRARY_DIR})
-	set(AMDIS_LIBRARIES "${_AMDiS_LIB};${AMDIS_LIBRARY_DIR}/libcompositeFEM.so" CACHE STRING "amdis libraries")
+	set(AMDIS_LIBRARIES "${_AMDIS_LIB};${AMDIS_LIBRARY_DIR}/libcompositeFEM.so" CACHE STRING "amdis libraries")
 else()
 	message(ERROR "could not detect the AMDiS library directory. Please set the variable AMDIS_LIBRARY_DIR to the directory containg the AMDiS library")
 endif()
-unset(_AMDiS_LIB CACHE)
+unset(_AMDIS_LIB CACHE)
 
 find_package(Boost 1.42 REQUIRED system iostreams)
 if(Boost_FOUND)
@@ -59,7 +59,7 @@ set(AMDiS_NEED_ZOLTAN @ENABLE_ZOLTAN@)
 set(AMDiS_HAS_PARALLEL_DOMAIN @ENABLE_PARALLEL_DOMAIN@)
 set(AMDiS_NEED_UMFPACK @ENABLE_UMFPACK@)
 set(AMDiS_NEED_MKL @ENABLE_MKL@)
-set(AMDIS_USE_FILE ${AMDiS_DIR}/AMDiSUse.cmake)
+set(AMDIS_USE_FILE ${AMDIS_DIR}/AMDiSUse.cmake)
 set(AMDiS_COMPILEFLAGS "@COMPILEFLAGS@")
 
 if(AMDiS_NEED_UMFPACK)
@@ -79,7 +79,7 @@ if(AMDiS_NEED_UMFPACK)
 	)
 endif(AMDiS_NEED_UMFPACK)
 
-if(${AMDiS_FIND_COMPONENTS} MATCHES umfpack )
+if(${AMDIS_FIND_COMPONENTS} MATCHES umfpack )
 	if( NOT AMDiS_NEED_UMFPACK )
 	  set( AMDiS_umfpack_FOUND FALSE)
 	  message(SEND_ERROR "the selected amdis was not compiled with umfpack")
@@ -95,6 +95,6 @@ if( AMDiS_NEED_ZOLTAN )
   find_library(ZOLTAN_LIB zoltan DOC "full path to the zoltan library")
   list(APPEND AMDIS_LIBRARIES ${ZOLTAN_LIB})
 endif()
-if(${AMDiS_FIND_COMPONENTS} MATCHES parmetis AND NOT AMDiS_NEED_PARMETIS)
+if(${AMDIS_FIND_COMPONENTS} MATCHES parmetis AND NOT AMDiS_NEED_PARMETIS)
 	message(SEND_ERROR "amdis was not compiled with parmetis")
 endif()
-- 
GitLab