From aa442e5734d31f479c2e0449449c2d7e7a3f2dc9 Mon Sep 17 00:00:00 2001 From: navarrop Date: Mon, 22 Nov 2010 14:29:34 +0000 Subject: [PATCH] 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 --- buildtools/Cmake/Modules/FindLua51Simgrid.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.20.1