Use internal qextserial

This commit is contained in:
Daniele Viganò 2017-10-01 14:04:12 +02:00
parent f405346510
commit d0d36bd43b

View File

@ -174,7 +174,8 @@ find . \( -name "*.cpp" -o -name "*.h" \) -type f -perm /111 -execdir chmod -x {
install -pm0644 %{SOURCE4} .
# Delete bundled libs
rm -rf src/core/gps/qextserialport/
# Using external QEXTSERIALPORT causes segfaults
# rm -rf src/core/gps/qextserialport/
gzip ChangeLog
@ -192,8 +193,9 @@ gzip ChangeLog
-D WITH_CUSTOM_WIDGETS:BOOL=TRUE \
-D BINDINGS_GLOBAL_INSTALL:BOOL=TRUE \
-D ENABLE_TESTS:BOOL=FALSE \
-D WITH_INTERNAL_QEXTSERIALPORT:BOOL=FALSE \
-D QEXTSERIALPORT_INCLUDE_DIR:STRING=%{_includedir}/QtExtSerialPort \
# Using external QEXTSERIALPORT causes segfaults
# -D WITH_INTERNAL_QEXTSERIALPORT:BOOL=FALSE \
# -D QEXTSERIALPORT_INCLUDE_DIR:STRING=%{_includedir}/QtExtSerialPort \
-D WITH_QSPATIALITE:BOOL=TRUE \
-D WITH_SERVER:BOOL=TRUE \
.