fixed SIGPIPE killing program

This commit is contained in:
2020-02-08 21:53:09 +01:00
parent eb6a202c71
commit bc40ddbd9f
2 changed files with 43 additions and 107 deletions

View File

@ -10,6 +10,6 @@ add_executable(${PROJECT_NAME} ${SRC_FILES})
target_link_libraries( ${PROJECT_NAME} ${LIBS})
set_target_properties( ${PROJECT_NAME} PROPERTIES COMPILE_FLAGS -m64 LINK_FLAGS -m64)
add_definitions(" -std=c++11 -Wall ")
add_definitions(" -std=c++11 -Wall -O2")
install(TARGETS serialmultiplexer RUNTIME DESTINATION bin)