Skip to content

Commit e92d523

Browse files
committed
Use CMAKE_INSTALL_*DIRs
1 parent 36a076d commit e92d523

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/autotools.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,12 @@ jobs:
194194
- name: Build msgpack-c
195195
run: |
196196
cd msgpack-c
197-
cmake -S . -B ../msgpack-c.build -DCMAKE_INSTALL_PREFIX=/usr/local
197+
cmake -S . -B ../msgpack-c.build -DCMAKE_INSTALL_PREFIX=/usr/local \
198+
-DCMAKE_INSTALL_LIBDIR=lib64 \
199+
-DCMAKE_INSTALL_INCLUDEDIR=include64
198200
cmake --build ../msgpack-c.build
199201
sudo cmake --install ../msgpack-c.build
202+
export PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:$PKG_CONFIG_PATH
200203
- name: Prepare ccache
201204
run: |
202205
echo "CCACHE_DIR=${PWD}/ccache" >> ${GITHUB_ENV}

0 commit comments

Comments
 (0)