You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
873 B

  1. Index: libuwsc-3.3.1/cmake/Modules/FindLua.cmake
  2. ===================================================================
  3. --- /dev/null
  4. +++ libuwsc-3.3.1/cmake/Modules/FindLua.cmake
  5. @@ -0,0 +1,18 @@
  6. +# - Try to find lua
  7. +# Once done this will define
  8. +# LUA_FOUND - System has lua
  9. +# LUA_INCLUDE_DIR - The lua include directories
  10. +# LUA_LIBRARY - The libraries needed to use lua
  11. +
  12. +find_path(LUA_INCLUDE_DIR lua.h)
  13. +find_library(LUA_LIBRARY lua)
  14. +
  15. +include(FindPackageHandleStandardArgs)
  16. +# handle the QUIETLY and REQUIRED arguments and set LUA_FOUND to TRUE
  17. +# if all listed variables are TRUE and the requested version matches.
  18. +find_package_handle_standard_args(Lua REQUIRED_VARS
  19. + LUA_LIBRARY LUA_INCLUDE_DIR
  20. + VERSION_VAR LUA_VERSION)
  21. +
  22. +mark_as_advanced(LUA_INCLUDE_DIR LUA_LIBRARY)
  23. +