Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Those messages should appear only on Mac platform.
[simgrid.git] / buildtools / Cmake / Modules / FindLua51Simgrid.cmake
index 36ab3c4..2455ce1 100644 (file)
@@ -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