Files
BinexProject/CMakeLists.txt
Maier Johannes 45af305522 Address CVE-2024-42471 (#9)
* Fix CVE-2024-42471
* Include fnetd into repository, download link is broken
2024-09-13 23:21:32 +10:00

14 lines
334 B
CMake

cmake_minimum_required(VERSION 3.18)
project(project C)
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_FLAGS "-Wall -Werror -g -fstack-protector -fshort-enums -z noexecstack -z relro -z now -pie -fPIE -Wl,-z,relro,-z,now")
add_executable(vuln vuln.c)
if(NOT DEFINED ENV{DISABLE_PRESENTATION_BUILD})
add_subdirectory(presentation)
endif()