message(STATUS "Last step of project\(\) command.") add_compile_options( -fstack-protector-all $<$,STATIC_LIBRARY>:-fPIC> $<$,EXECUTABLE>:-fPIE> ) add_link_options( -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -s $<$,EXECUTABLE>:-pie> )