mirror of
https://github.com/altlinux/admc.git
synced 2025-03-16 14:50:13 +03:00
parent
7474e183fd
commit
a8ffee6c1c
@ -5,7 +5,9 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
add_compile_options(-Wall -Wshadow -Werror=switch)
|
||||
# NOTE: neeed largefile options to prevent problems with
|
||||
# smbclient on 32bit systems
|
||||
add_compile_options(-Wall -Wshadow -Werror=switch -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user