Skip to content

Commit 80d846f

Browse files
committed
Update install.sh
1 parent eadcbe3 commit 80d846f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

plugins/mosquitto/install.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ Install_App()
4848

4949
mkdir -p $serverPath/mosquitto
5050
if [ ! -d $serverPath/mosquitto/bin ];then
51-
cd mosquitto-${VERSION} && ${INSTALL_CMD} CMakeLists.txt -DCMAKE_INSTALL_PREFIX=$serverPath/mosquitto && make install
51+
cd mosquitto-${VERSION} && ${INSTALL_CMD} CMakeLists.txt \
52+
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
53+
-DCMAKE_INSTALL_PREFIX=$serverPath/mosquitto && make install
5254
fi
5355

5456
if [ -d $serverPath/mosquitto ];then

0 commit comments

Comments
 (0)