From 3cbbf8c8d9dd5172b4a4ab686fdb6e05ef951cd5 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 9 Jan 2021 23:17:40 +0700 Subject: games/commandergenius: Do not use hardcoded path. Signed-off-by: Willy Sudiarto Raharjo --- games/commandergenius/commandergenius.SlackBuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'games') diff --git a/games/commandergenius/commandergenius.SlackBuild b/games/commandergenius/commandergenius.SlackBuild index 9fa4859739..e9d54284c6 100644 --- a/games/commandergenius/commandergenius.SlackBuild +++ b/games/commandergenius/commandergenius.SlackBuild @@ -89,7 +89,8 @@ sed -i 's,Application;,,' share/$DESKTOP mkdir -p build cd build - /opt/cmake-202x/bin/cmake \ + export "PATH=/opt/cmake-202x/bin:$PATH" + cmake \ -DUSE_SDL2=yes \ -DGAMES_SHAREDIR:STRING=/usr/share/games \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -- cgit v1.2.3