File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 5
5
SOURCE_DIR=${SOURCE_DIR:- $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && dirname $( pwd ) )}
6
6
BUILD_DIR=$( pwd)
7
7
CC=${CC:- cc}
8
+ CMAKE_GENERATOR=${CMAKE_GENERATOR:- Unix Makefiles}
8
9
9
10
indent () { sed " s/^/ /" ; }
10
11
@@ -35,8 +36,8 @@ echo "##########################################################################
35
36
echo " ## Configuring build environment"
36
37
echo " ##############################################################################"
37
38
38
- echo cmake ${SOURCE_DIR} -DENABLE_WERROR=ON ${CMAKE_OPTIONS}
39
- cmake ${SOURCE_DIR} -DENABLE_WERROR=ON ${CMAKE_OPTIONS}
39
+ echo cmake ${SOURCE_DIR} -DENABLE_WERROR=ON -G ${CMAKE_GENERATOR} ${CMAKE_OPTIONS}
40
+ cmake ${SOURCE_DIR} -DENABLE_WERROR=ON -G " ${CMAKE_GENERATOR} " ${CMAKE_OPTIONS}
40
41
41
42
echo " "
42
43
echo " ##############################################################################"
You can’t perform that action at this time.
0 commit comments