Add version fallback

This commit is contained in:
Alex 2020-08-13 09:08:45 +02:00
parent 5af2be7e5b
commit d1e9dcfd23
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.16)
cmake_minimum_required(VERSION 3.12)
project(relaycontrol LANGUAGES C)
set(CFLAGS "${CFLAGS} -Wall -Wextra -pedantic -Wformat-overflow=2 -Wformat-security -Winit-self -Wstrict-overflow=2 -Wstringop-overflow=2 -Walloc-zero -Wduplicated-branches -Wduplicated-cond -Wtrampolines -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wparentheses -fanalyzer -fstack-protector")
@ -16,4 +16,4 @@ add_executable(relaycntl
)
set_property(TARGET relaycntl PROPERTY C_STANDARD 99)
install(TARGETS relaycntl RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
install(TARGETS relaycntl RUNTIME DESTINATION bin DESTINATION ${CMAKE_INSTALL_BINDIR})