Add version fallback
This commit is contained in:
parent
5af2be7e5b
commit
d1e9dcfd23
@ -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})
|
||||
|
Loading…
Reference in New Issue
Block a user