diff --git a/AMDiS/AMDiSConfig.cmake.in b/AMDiS/AMDiSConfig.cmake.in
index e8dc99d5ef122cd2e80ad916eaa63ba82be12c85..7c63ed3de55bcb8684d71b62122c96fce0f39fa5 100644
--- a/AMDiS/AMDiSConfig.cmake.in
+++ b/AMDiS/AMDiSConfig.cmake.in
@@ -24,7 +24,11 @@
 #and omit the AMDIS_USE_FILE. Then you also have to set the flags, include 
 #and library directories.
 
-
+################## ONLY WORKAROUND AND WARNING ###################
+if(NOT "$ENV{LIBRARY_PATH}" STREQUAL "")
+        message(WARNING "the environment variable LIBRARY_PATH is set. this can lead to problems during linking. \n You can unset it in your CMakeLists.txt with the command unset(ENV{LIBRARY_PATH}).\n")
+endif()
+##################################################################
 #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)