From: ageay Date: Tue, 9 Jul 2013 09:07:08 +0000 (+0000) Subject: little bug X-Git-Tag: B4KillOfAutomake~46 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0907818ba80208f6b4de7bff87574aa18745c6c1;p=modules%2Fmed.git little bug --- diff --git a/adm_local_without_kernel/cmake_files/FindMEDFile.cmake b/adm_local_without_kernel/cmake_files/FindMEDFile.cmake index 5ee40e16f..1d1d4c865 100644 --- a/adm_local_without_kernel/cmake_files/FindMEDFile.cmake +++ b/adm_local_without_kernel/cmake_files/FindMEDFile.cmake @@ -25,7 +25,7 @@ MESSAGE(STATUS "Check for medfile ...") SET(MEDFILE_ROOT_DIR $ENV{MEDFILE_ROOT_DIR} CACHE PATH "Path to the MEDFile.") IF(MEDFILE_ROOT_DIR) - LIST(APPEND CMAKE_PREFIX_PATH "${CPPUNIT_ROOT_DIR}") + LIST(APPEND CMAKE_PREFIX_PATH "${MEDFILE_ROOT_DIR}") ENDIF(MEDFILE_ROOT_DIR) FIND_PATH(MEDFILE_INCLUDE_DIRS med.h)