1
0
mirror of https://github.com/altlinux/admc.git synced 2025-02-13 17:57:25 +03:00

add -Wno-error=deprecated-declarations

qt versions on p9 and p10 are so different that p10 has deprecations
\ that can't be fixed on p9!
so have to make deprecations into warnings, to be able to build for p10
This commit is contained in:
Dmitry Degtyarev 2021-11-10 16:58:54 +04:00
parent 073e71fc85
commit b1bd6340d7

View File

@ -7,7 +7,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
# NOTE: neeed largefile options to prevent problems with
# smbclient on 32bit systems
add_compile_options(-Wall -Wextra -Wshadow -Werror -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64)
add_compile_options(-Wall -Wextra -Wshadow -Werror -Wno-error=deprecated-declarations -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64)
# You can get version from spec by first finding Versions keyword.
# After that you can use awk to split line by : and then select second part of it.