Skip to content

Commit aee78e6

Browse files
committed
fixed build script for fedora
1 parent ce915aa commit aee78e6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

build.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ install_deps() {
1616

1717
elif command -v dnf >/dev/null 2>&1; then
1818
echo "Detected dnf (Fedora)"
19-
sudo dnf group install c-development --with-optional
20-
sudo dnf group install development-tools
21-
sudo dnf install boost-devel
19+
sudo dnf group install -y development-tools
20+
sudo dnf install -y gcc gcc-c++ make cmake git boost-devel
2221

2322
else
2423
echo "No supported package manager found."
@@ -55,7 +54,7 @@ echo Compilation done. All the examples are in the bin folder
5554

5655
cd include
5756
# Prompt the user for confirmation
58-
echo "Do you want to add cadmium ($(pwd)) to the PATH? (yes/no)"
57+
echo "Do you want to add cadmium ($(pwd)) as an environment variable? (yes/no)"
5958
read -r response
6059

6160
# Check the response and take action

0 commit comments

Comments
 (0)