summaryrefslogtreecommitdiff
path: root/graphics/osg/patches/patch-CMakeModules_FindLua52.cmake
blob: 52c991cc667afe51fa9bb8ccae46fbf3e7ec8046 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-CMakeModules_FindLua52.cmake,v 1.1 2021/03/02 09:41:56 adam Exp $

Find Lua from PkgSrc.

--- CMakeModules/FindLua52.cmake.orig	2021-03-02 08:52:23.000000000 +0000
+++ CMakeModules/FindLua52.cmake
@@ -28,7 +28,7 @@
 find_path(LUA_INCLUDE_DIR lua.h
   HINTS
     ENV LUA_DIR
-  PATH_SUFFIXES include/lua52 include/lua5.2 include/lua include
+  PATH_SUFFIXES include/lua52 include/lua5.2 include/lua-5.2 include/lua include
   PATHS
   ~/Library/Frameworks
   /Library/Frameworks