diff options
Diffstat (limited to 'Modules/FindLua50.cmake')
-rw-r--r-- | Modules/FindLua50.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/FindLua50.cmake b/Modules/FindLua50.cmake index 2b8ee97..21a86db 100644 --- a/Modules/FindLua50.cmake +++ b/Modules/FindLua50.cmake @@ -26,7 +26,7 @@ find_path(LUA_INCLUDE_DIR lua.h HINTS - $ENV{LUA_DIR} + ENV LUA_DIR PATH_SUFFIXES include/lua50 include/lua5.0 include/lua5 include/lua include PATHS ~/Library/Frameworks @@ -40,7 +40,7 @@ find_path(LUA_INCLUDE_DIR lua.h find_library(LUA_LIBRARY_lua NAMES lua50 lua5.0 lua-5.0 lua5 lua HINTS - $ENV{LUA_DIR} + ENV LUA_DIR PATH_SUFFIXES lib64 lib PATHS ~/Library/Frameworks @@ -59,8 +59,8 @@ else() find_library(LUA_LIBRARY_lualib NAMES lualib50 lualib5.0 lualib5 lualib HINTS - $ENV{LUALIB_DIR} - $ENV{LUA_DIR} + ENV LUALIB_DIR + ENV LUA_DIR PATH_SUFFIXES lib64 lib PATHS /sw |