X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7edfb13279f2fded41bac9dece85360d0c43a9a7..36360f35fad6a78d7bcd1100ff08098eb3f1a633:/buildtools/Cmake/CompleteInFiles.cmake diff --git a/buildtools/Cmake/CompleteInFiles.cmake b/buildtools/Cmake/CompleteInFiles.cmake index c1e9ab30ea..7ec404f469 100644 --- a/buildtools/Cmake/CompleteInFiles.cmake +++ b/buildtools/Cmake/CompleteInFiles.cmake @@ -200,7 +200,7 @@ endif(HAVE_CGRAPH_LIB AND HAVE_CGRAPH_H) #-------------------------------------------------------------------------------------------------- ### Initialize of pcre find_library(PATH_PCRE_LIB pcre "/usr/lib/") - +set(HAVE_PCRE_LIB 0) if(PATH_PCRE_LIB) string(REGEX REPLACE "/libpcre.*[.]so$" "" PATHLIBPCRE "${PATH_PCRE_LIB}") string(REGEX MATCH "-L${PATHLIBPCRE} " operation "${CMAKE_C_FLAGS}") @@ -209,7 +209,7 @@ if(PATH_PCRE_LIB) endif(NOT operation) set(HAVE_PCRE_LIB 1) else(PATH_PCRE_LIB) - message(FATAL_ERROR "You must have libpcre installed (please install the libpcre3-dev package or equivalent)") + message(WARNING "You should install libpcre (please install the libpcre3-dev package or equivalent)") endif(PATH_PCRE_LIB) #--------------------------------------------------------------------------------------------------