X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=cmake_files%2FFindScotch.cmake;h=b63d30dcb12f05920c54521f9afe4e7c78527ed8;hb=c8d33262ed6d2041da8512b02f8c8b4ffadf733d;hp=351c3e92e5586ea5455adbc2e787761e3a471fa7;hpb=586a7f0f6d8d1592a9547b15d1caac905cb1b053;p=tools%2Fmedcoupling.git diff --git a/cmake_files/FindScotch.cmake b/cmake_files/FindScotch.cmake index 351c3e92e..b63d30dcb 100644 --- a/cmake_files/FindScotch.cmake +++ b/cmake_files/FindScotch.cmake @@ -31,9 +31,5 @@ FIND_LIBRARY(SCOTCH_ERR_LIBRARIES scotcherr) SET(SCOTCH_LIBRARIES ${SCOTCH_LIBRARIES} ${SCOTCH_ERR_LIBRARIES}) FIND_PATH(SCOTCH_INCLUDE_DIRS scotch.h PATH_SUFFIXES "/scotch") -IF(NOT SCOTCH_LIBRARIES OR NOT SCOTCH_ERR_LIBRARIES OR NOT SCOTCH_INCLUDE_DIRS) - MESSAGE(FATAL_ERROR "Scotch not found; please set SCOTCH_ROOT_DIR and check target directory.") -ENDIF() - INCLUDE(FindPackageHandleStandardArgs) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Scotch REQUIRED_VARS SCOTCH_INCLUDE_DIRS SCOTCH_LIBRARIES)