Skip to contentSkip to conversation

package/domoticz: fix build with cmake < 3.16

PATCH New Fabrice Fontaine 2 participants 2 messages Mar 23, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/domoticz: fix build with cmake < 3.16

Disable precompiled header because it needs cmake >= 3.16 since version 2020.1 and
https://github.com/domoticz/domoticz/commit/2430e5c85624139dd15a74267d6e50992e394509

Fixes:
- http://autobuild.buildroot.org/results/7c6e5cb35dffa142972ad19594c8cc092cbfaa76

---
 package/domoticz/domoticz.mk | 3 +++
 1 file changed, 3 insertions(+)
package/domoticz/domoticz.mk +3 -0
index 6df292764b..c7cbd3de0e 100644
@@ -19,6 +19,9 @@ DOMOTICZ_DEPENDENCIES = \
 	sqlite \
 	zlib
 
+# Disable precompiled header as it needs cmake >= 3.16
+DOMOTICZ_CONF_OPTS += -DUSE_PRECOMPILED_HEADER=OFF
+
 # Due to the dependency on mosquitto, domoticz depends on
 # !BR2_STATIC_LIBS so set USE_STATIC_BOOST and USE_OPENSSL_STATIC to OFF
 DOMOTICZ_CONF_OPTS += \
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 package/domoticz: fix build with cmake < 3.16

Fabrice, All,

On 2020-03-23 18:42 +0100, Fabrice Fontaine spake thusly:

Quoted 17 lines

Disable precompiled header because it needs cmake >= 3.16 since version 2020.1 and
https://github.com/domoticz/domoticz/commit/2430e5c85624139dd15a74267d6e50992e394509

Fixes:
- http://autobuild.buildroot.org/results/7c6e5cb35dffa142972ad19594c8cc092cbfaa76

---
 package/domoticz/domoticz.mk | 3 +++
 1 file changed, 3 insertions(+)
package/domoticz/domoticz.mk +0 -0
index 6df292764b..c7cbd3de0e 100644

package/domoticz/domoticz.mk DOMOTICZ_DEPENDENCIES = \ · line 23

Quoted 5 lines
package/domoticz/domoticz.mk +2 -0
@@ -19,6 +19,9 @@ DOMOTICZ_DEPENDENCIES = \
 	sqlite \
 	zlib
 
+# Disable precompiled header as it needs cmake >= 3.16
+DOMOTICZ_CONF_OPTS += -DUSE_PRECOMPILED_HEADER=OFF

Since this is the first assignment, I've changed to = instead of +=, and applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 10 lines
package/domoticz/domoticz.mk +0 -0
 # Due to the dependency on mosquitto, domoticz depends on
 # !BR2_STATIC_LIBS so set USE_STATIC_BOOST and USE_OPENSSL_STATIC to OFF
 DOMOTICZ_CONF_OPTS += \
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'