mirror of
https://github.com/glest/glest-source.git
synced 2025-08-31 03:39:54 +02:00
- a few changes to cmake files to get things compiling in open suse
This commit is contained in:
@@ -17,11 +17,12 @@ IF(LUA_INCLUDE_DIR AND LUA_LIBRARIES)
|
||||
ENDIF(LUA_INCLUDE_DIR AND LUA_LIBRARIES)
|
||||
|
||||
FIND_PATH(LUA_INCLUDE_DIR NAMES lua.hpp
|
||||
PATHS /usr/include/lua
|
||||
PATHS /usr/include
|
||||
/usr/include/lua
|
||||
/usr/include/lua5.1
|
||||
)
|
||||
|
||||
FIND_LIBRARY(LUA_LIBRARIES NAMES lua5.1 )
|
||||
FIND_LIBRARY(LUA_LIBRARIES NAMES lua5.1 lua )
|
||||
|
||||
IF(LUA_INCLUDE_DIR AND LUA_LIBRARIES)
|
||||
SET(LUA_FOUND TRUE)
|
||||
|
Reference in New Issue
Block a user