Skip to content

Commit cf8eddd

Browse files
committed
Force CMake to generate Unix Makefiles
Otherwise it might inspect the environment variable CMAKE_GENERATOR.
1 parent 6d9ac90 commit cf8eddd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ tar xf "$archive"
1717
# Build the libraries and install them, including the data files.
1818
mkdir build
1919
cd build
20-
cmake \
20+
cmake -G "Unix Makefiles" \
2121
-DCMAKE_BUILD_TYPE=Release \
2222
-DCMAKE_INSTALL_PREFIX=../Geant4 \
2323
-DGEANT4_INSTALL_DATA=ON \

0 commit comments

Comments
 (0)