From: navarrop Date: Mon, 22 Nov 2010 14:29:34 +0000 (+0000) Subject: Those messages should appear only on Mac platform. X-Git-Tag: v3_5~224 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/aa442e5734d31f479c2e0449449c2d7e7a3f2dc9 Those messages should appear only on Mac platform. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8606 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/buildtools/Cmake/Modules/FindLua51Simgrid.cmake b/buildtools/Cmake/Modules/FindLua51Simgrid.cmake index 36ab3c455b..2455ce18c6 100644 --- a/buildtools/Cmake/Modules/FindLua51Simgrid.cmake +++ b/buildtools/Cmake/Modules/FindLua51Simgrid.cmake @@ -40,6 +40,8 @@ string(REGEX MATCH "${LIB_EXE}" LUA_CPATH "${LUA_CPATH}") if(LUA_CPATH AND APPLE) message("-- LUA_CPATH have extension ${LIB_EXE}") else(DEFINED LUA_CPATH AND APPLE) + if(APPLE) message("-- Please set LUA_CPATH with extension ${LIB_EXE}") - message("-- For example, execute command line : export LUA_CPATH=\"./?.dylib\"") + message("-- For example, execute command line : export LUA_CPATH=\"./?.${LIB_EXE}\"") + endif(APPLE) endif(LUA_CPATH AND APPLE) \ No newline at end of file