From 7ec2caf9baf71995123f3011fbf0b581ce0bba77 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 9 Jan 2021 23:19:37 +0700 Subject: libraries/libversion: Do not use hardcoded path. Signed-off-by: Willy Sudiarto Raharjo --- libraries/libversion/libversion.SlackBuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libraries/libversion') diff --git a/libraries/libversion/libversion.SlackBuild b/libraries/libversion/libversion.SlackBuild index 968e972d4224..9cbdccfbf4e1 100644 --- a/libraries/libversion/libversion.SlackBuild +++ b/libraries/libversion/libversion.SlackBuild @@ -71,7 +71,8 @@ find -L . \ mkdir -p build cd build - /opt/cmake-202x/bin/cmake \ + export "PATH=/opt/cmake-202x/bin:$PATH" + cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release .. -- cgit v1.2.3