mirror of
https://github.com/glest/glest-source.git
synced 2025-09-01 04:01:47 +02:00
few improvements in compilation on mac
This commit is contained in:
@@ -129,6 +129,11 @@ find_path(LUA_INCLUDE_DIR lua.h
|
||||
)
|
||||
unset(_lua_include_subdirs)
|
||||
|
||||
IF(STATIC_LUA AND APPLE)
|
||||
# at least in mac ports, static lib is without numbers in name
|
||||
SET(_lua_library_names lua.a liblua.a ${_lua_library_names})
|
||||
ENDIF()
|
||||
|
||||
find_library(LUA_LIBRARY
|
||||
NAMES ${_lua_library_names} lua
|
||||
HINTS
|
||||
|
Reference in New Issue
Block a user