diff options
Diffstat (limited to 'Modules/FindLua51.cmake')
-rw-r--r-- | Modules/FindLua51.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindLua51.cmake b/Modules/FindLua51.cmake index b5a5471..87631f7 100644 --- a/Modules/FindLua51.cmake +++ b/Modules/FindLua51.cmake @@ -27,7 +27,7 @@ find_path(LUA_INCLUDE_DIR lua.h HINTS - $ENV{LUA_DIR} + ENV LUA_DIR PATH_SUFFIXES include/lua51 include/lua5.1 include/lua include PATHS ~/Library/Frameworks @@ -41,7 +41,7 @@ find_path(LUA_INCLUDE_DIR lua.h find_library(LUA_LIBRARY NAMES lua51 lua5.1 lua-5.1 lua HINTS - $ENV{LUA_DIR} + ENV LUA_DIR PATH_SUFFIXES lib64 lib PATHS ~/Library/Frameworks |