File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,8 @@ git clone --recursive "https://git.citron-emu.org/citron/emulator.git" ./citron
8787
8888 mkdir ./build
8989 cd ./build
90- cmake .. -GNinja \
90+ set -- \
91+ -GNinja \
9192 -DCMAKE_BUILD_TYPE=Release \
9293 -DCMAKE_INSTALL_PREFIX=/usr \
9394 -DUSE_SYSTEM_QT=ON \
@@ -103,6 +104,14 @@ git clone --recursive "https://git.citron-emu.org/citron/emulator.git" ./citron
103104 -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
104105 -DCMAKE_C_FLAGS=" $ARCH_FLAGS " \
105106 -DCMAKE_CXX_FLAGS=" $ARCH_FLAGS -Wno-error -Wno-template-body -w"
107+
108+ if [ " $DEVEL " = ' true' ]; then
109+ set -- " $@ " -DCITRON_BUILD_TYPE=Nightly
110+ else
111+ set -- " $@ " -DCITRON_BUILD_TYPE=Stable
112+ fi
113+
114+ cmake ../ " $@ "
106115 ninja
107116 sudo ninja install
108117 echo " $VERSION " > ~/version
You can’t perform that action at this time.
0 commit comments