File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,22 @@ pkg install devel/cmake devel/boost-libs textproc/expat2 \
9999 databases/postgresql94-client graphics/proj lang/lua52
100100```
101101
102+ On Alpine, use
103+
104+ ``` sh
105+ apk --update-cache add cmake make g++ boost-dev expat-dev \
106+ bzip2-dev zlib-dev libpq proj-dev lua5.3-dev
107+ ```
108+
109+ Due to Lua installation details, CMake only detects some of the
110+ required Lua paths on Alpine, but not the library.
111+ This can be resolved by setting the ` LUA_DIR ` environment variable,
112+ or you can modify ` CMAKE_PREFIX_PATH ` as mentioned below.
113+
114+ ``` sh
115+ export LUA_DIR=< path> # Defaults to /usr/lib/lua5.3/
116+ ```
117+
102118Once dependencies are installed, use CMake to build the Makefiles in a separate
103119folder:
104120
You can’t perform that action at this time.
0 commit comments