From: ageay Date: Tue, 9 Jul 2013 09:07:40 +0000 (+0000) Subject: little bug X-Git-Tag: B4KillOfAutomake~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=729795bd339b774bf563458a3367ccc513d87bac;p=modules%2Fkernel.git little bug --- diff --git a/salome_adm/cmake_files/FindMEDFile.cmake b/salome_adm/cmake_files/FindMEDFile.cmake index 5ee40e16f..1d1d4c865 100644 --- a/salome_adm/cmake_files/FindMEDFile.cmake +++ b/salome_adm/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)