File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 36
36
# This is because, the lua location is not standardized and may exist in
37
37
# locations other than lua/
38
38
39
- include (FindPkgConfig )
39
+ if (NOT PKG_CONFIG_FOUND )
40
+ include (CMakeFindDependencyMacro )
41
+ find_dependency (PkgConfig )
42
+ endif ()
40
43
41
44
unset (_lua_include_subdirs )
42
45
unset (_lua_library_names )
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ RUN mkdir -p /src && mkdir -p /opt
5
5
6
6
RUN apt-get update && \
7
7
apt-get -y --no-install-recommends install ca-certificates cmake make git gcc g++ libbz2-dev libxml2-dev wget \
8
- libzip-dev libboost1.74-all-dev lua5.4 liblua5.4-dev -o APT::Install-Suggests=0 -o APT::Install-Recommends=0
8
+ libzip-dev libboost1.74-all-dev lua5.4 liblua5.4-dev pkg-config -o APT::Install-Suggests=0 -o APT::Install-Recommends=0
9
9
10
10
RUN NPROC=${BUILD_CONCURRENCY:-$(nproc)} && \
11
11
ldconfig /usr/local/lib && \
You can’t perform that action at this time.
0 commit comments