From: Arnaud Giersch Date: Fri, 23 Mar 2012 09:23:45 +0000 (+0100) Subject: Having LD_LIBRARY_PATH is not mandatory. X-Git-Tag: v3_7~241 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/47b38aa12761cc26a9bb3030532e8efc3c924bf4 Having LD_LIBRARY_PATH is not mandatory. Think of standard locations, like /usr/lib. --- diff --git a/buildtools/Cmake/Modules/FindNS3.cmake b/buildtools/Cmake/Modules/FindNS3.cmake index c30f7665f2..65882f3d2b 100644 --- a/buildtools/Cmake/Modules/FindNS3.cmake +++ b/buildtools/Cmake/Modules/FindNS3.cmake @@ -78,7 +78,6 @@ if(HAVE_NS3) string(REGEX MATCH "${HAVE_NS3_LIB}" operation "$ENV{LD_LIBRARY_PATH}") if(NOT operation) message(STATUS "Warning: To use NS-3 don't forget to set LD_LIBRARY_PATH with: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${HAVE_NS3_LIB}") - set(HAVE_NS3 0) else(NOT operation) string(REGEX MATCH "-L${HAVE_NS3_LIB} " operation1 "${CMAKE_C_FLAGS}") @@ -99,4 +98,4 @@ endif(HAVE_NS3) if(HAVE_NS3 AND enable_supernovae) set(enable_supernovae OFF) -endif(HAVE_NS3 AND enable_supernovae) \ No newline at end of file +endif(HAVE_NS3 AND enable_supernovae)