diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-01-09 23:18:50 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-01-17 08:44:53 +0700 |
commit | 82d5be1378f92a69aa7fffdabdc030e4f1aba416 (patch) | |
tree | ef17e96891196f0b66515592d417c6696e2c201b /gis/qgis | |
parent | afb892013395177d3673bc3b9814a311c120edd3 (diff) |
gis/qgis: Do not use hardcoded path.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/qgis')
-rw-r--r-- | gis/qgis/qgis.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gis/qgis/qgis.SlackBuild b/gis/qgis/qgis.SlackBuild index 29d0a2d17d3cc..066c0cf2bfa58 100644 --- a/gis/qgis/qgis.SlackBuild +++ b/gis/qgis/qgis.SlackBuild @@ -80,7 +80,8 @@ sed -i 's|${SIP_BINARY_PATH}|/usr/bin/python3-sip|' cmake/SIPMacros.cmake mkdir -p build cd build - /opt/cmake-202x/bin/cmake .. \ + export "PATH=/opt/cmake-202x/bin:$PATH" + cmake .. \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_BUILD_TYPE="Release" \ |