+Added toluapp as a acceptable library to build Stratagus against

This commit is contained in:
Bradley Clemetson 2012-11-17 15:10:34 -08:00
parent 81a3a7d230
commit 940af410a9

View file

@ -15,8 +15,8 @@ if(TOLUA++_INCLUDE_DIR AND TOLUA++_LIBRARY AND TOLUA++_APP)
set(TOLUA++_FOUND true) set(TOLUA++_FOUND true)
else() else()
find_path(TOLUA++_INCLUDE_DIR tolua++.h) find_path(TOLUA++_INCLUDE_DIR tolua++.h)
find_library(TOLUA++_LIBRARY NAMES tolua++ tolua++5.1) find_library(TOLUA++_LIBRARY NAMES tolua++ tolua++5.1 toluapp)
find_program(TOLUA++_APP NAMES tolua++ tolua++5.1) find_program(TOLUA++_APP NAMES tolua++ tolua++5.1 toluapp)
if(TOLUA++_INCLUDE_DIR AND TOLUA++_LIBRARY AND TOLUA++_APP) if(TOLUA++_INCLUDE_DIR AND TOLUA++_LIBRARY AND TOLUA++_APP)
set(TOLUA++_FOUND true) set(TOLUA++_FOUND true)