diff options
Diffstat (limited to 'graphics/cegui/files/patch-cmake__FindTOLUAPP.cmake')
-rw-r--r-- | graphics/cegui/files/patch-cmake__FindTOLUAPP.cmake | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/cegui/files/patch-cmake__FindTOLUAPP.cmake b/graphics/cegui/files/patch-cmake__FindTOLUAPP.cmake new file mode 100644 index 000000000000..519980a5262c --- /dev/null +++ b/graphics/cegui/files/patch-cmake__FindTOLUAPP.cmake @@ -0,0 +1,15 @@ +--- cmake/FindTOLUAPP.cmake.orig 2014-03-11 21:25:30.000000000 +0100 ++++ cmake/FindTOLUAPP.cmake 2014-03-11 21:28:03.000000000 +0100 +@@ -3,9 +3,9 @@ + ################################################################################ + include(FindPackageHandleStandardArgs) + +-find_path(TOLUAPP_H_PATH NAMES tolua++.h) +-find_library(TOLUAPP_LIB NAMES tolua++5.1 tolua++ toluapp PATH_SUFFIXES dynamic) +-find_library(TOLUAPP_LIB_DBG NAMES tolua++5.1_d tolua++_d toluapp_d PATH_SUFFIXES dynamic) ++find_path(TOLUAPP_H_PATH NAMES tolua++.h PATHS ENV TOLUA_INC) ++find_library(TOLUAPP_LIB NAMES tolua++-5.1 tolua++ toluapp PATH_SUFFIXES dynamic) ++find_library(TOLUAPP_LIB_DBG NAMES tolua++-5.1_d tolua++_d toluapp_d PATH_SUFFIXES dynamic) + mark_as_advanced(TOLUAPP_H_PATH TOLUAPP_LIB TOLUAPP_LIB_DBG) + + if (WIN32 OR APPLE) |