Skip to content

Commit

Permalink
Update FindLua54.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
MillhioreBT committed Sep 18, 2023
1 parent bf39c19 commit ea5999f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmake/FindLua54.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,17 @@
find_path(LUA_INCLUDE_DIR lua.h
HINTS
ENV LUA_DIR
PATH_SUFFIXES usr/include/lua5.4 include/lua5.4 include lua54
PATH_SUFFIXES usr/include/lua5.4 include/lua5.4 include lua5.4
PATHS
~/Library/Frameworks
/Library/Frameworks
/sw # Fink
/opt/local # DarwinPorts
/opt/csw # Blastwave
/opt
/usr
/usr/include
/usr/include/lua5.4
)

find_library(LUA_LIBRARY
Expand All @@ -32,7 +35,6 @@ find_library(LUA_LIBRARY
/opt/local
/opt/csw
/opt
/usr/include/lua5.4
)

if(LUA_LIBRARY)
Expand Down

0 comments on commit ea5999f

Please sign in to comment.