This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake".
The branch, next has been updated via f8492d0255f4bc2ca4b5da472d5c87c0e04cb367 (commit) via 30f9f6629451213c176cbcd5bc2150c4e8710501 (commit) from f5fd0617df8646b063b4909e183801c47e25df16 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f8492d0255f4bc2ca4b5da472d5c87c0e04cb367 commit f8492d0255f4bc2ca4b5da472d5c87c0e04cb367 Merge: f5fd061 30f9f66 Author: Brad King <brad.k...@kitware.com> AuthorDate: Tue Jun 18 08:14:53 2013 -0400 Commit: CMake Topic Stage <kwro...@kitware.com> CommitDate: Tue Jun 18 08:14:53 2013 -0400 Merge topic 'add-FindLua52' into next 30f9f66 Revert "Add FindLua52 module (#14224)" http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=30f9f6629451213c176cbcd5bc2150c4e8710501 commit 30f9f6629451213c176cbcd5bc2150c4e8710501 Author: Brad King <brad.k...@kitware.com> AuthorDate: Tue Jun 18 08:11:48 2013 -0400 Commit: Brad King <brad.k...@kitware.com> CommitDate: Tue Jun 18 08:11:48 2013 -0400 Revert "Add FindLua52 module (#14224)" This reverts commit bcb09ef4abee1696b092c93cc95d583fcac1dec7. diff --git a/Modules/FindLua52.cmake b/Modules/FindLua52.cmake deleted file mode 100644 index 6b6f9d2..0000000 --- a/Modules/FindLua52.cmake +++ /dev/null @@ -1,80 +0,0 @@ -# Locate Lua library -# This module defines -# LUA52_FOUND, if false, do not try to link to Lua -# LUA_LIBRARIES -# LUA_INCLUDE_DIR, where to find lua.h -# LUA_VERSION_STRING, the version of Lua found -# -# Note that the expected include convention is -# #include "lua.h" -# and not -# #include <lua/lua.h> -# This is because, the lua location is not standardized and may exist -# in locations other than lua/ - -#============================================================================= -# Copyright 2007-2009 Kitware, Inc. -# -# Distributed under the OSI-approved BSD License (the "License"); -# see accompanying file Copyright.txt for details. -# -# This software is distributed WITHOUT ANY WARRANTY; without even the -# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -# See the License for more information. -#============================================================================= -# (To distribute this file outside of CMake, substitute the full -# License text for the above reference.) - -find_path(LUA_INCLUDE_DIR lua.h - HINTS - ENV LUA_DIR - PATH_SUFFIXES include/lua52 include/lua5.2 include/lua-5.2 include/lua include - PATHS - ~/Library/Frameworks - /Library/Frameworks - /sw # Fink - /opt/local # DarwinPorts - /opt/csw # Blastwave - /opt -) - -find_library(LUA_LIBRARY - NAMES lua52 lua5.2 lua-5.2 lua - HINTS - ENV LUA_DIR - PATH_SUFFIXES lib - PATHS - ~/Library/Frameworks - /Library/Frameworks - /sw - /opt/local - /opt/csw - /opt -) - -if(LUA_LIBRARY) - # include the math library for Unix - if(UNIX AND NOT APPLE AND NOT BEOS) - find_library(LUA_MATH_LIBRARY m) - set( LUA_LIBRARIES "${LUA_LIBRARY};${LUA_MATH_LIBRARY}" CACHE STRING "Lua Libraries") - # For Windows and Mac, don't need to explicitly include the math library - else() - set( LUA_LIBRARIES "${LUA_LIBRARY}" CACHE STRING "Lua Libraries") - endif() -endif() - -if(LUA_INCLUDE_DIR AND EXISTS "${LUA_INCLUDE_DIR}/lua.h") - file(STRINGS "${LUA_INCLUDE_DIR}/lua.h" lua_version_str REGEX "^#define[ \t]+LUA_RELEASE[ \t]+\"Lua .+\"") - - string(REGEX REPLACE "^#define[ \t]+LUA_RELEASE[ \t]+\"Lua ([^\"]+)\".*" "\\1" LUA_VERSION_STRING "${lua_version_str}") - unset(lua_version_str) -endif() - -include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) -# handle the QUIETLY and REQUIRED arguments and set LUA_FOUND to TRUE if -# all listed variables are TRUE -FIND_PACKAGE_HANDLE_STANDARD_ARGS(Lua52 - REQUIRED_VARS LUA_LIBRARIES LUA_INCLUDE_DIR - VERSION_VAR LUA_VERSION_STRING) - -mark_as_advanced(LUA_INCLUDE_DIR LUA_LIBRARIES LUA_LIBRARY LUA_MATH_LIBRARY) ----------------------------------------------------------------------- Summary of changes: Modules/FindLua52.cmake | 80 ----------------------------------------------- 1 files changed, 0 insertions(+), 80 deletions(-) delete mode 100644 Modules/FindLua52.cmake hooks/post-receive -- CMake _______________________________________________ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits