Browse Source

Fix Segmentation fault on Linux amd64

The version defines which were passed to version.c were incorrectly
constructed in the CMakeLists.txt file causing a seg fault when
invoking edge -h
pull/7/head
Dushara Jayasinghe 7 years ago
parent
commit
368cee035c
  1. 2
      CMakeLists.txt

2
CMakeLists.txt

@ -10,7 +10,7 @@ if(NOT DEFINED N2N_OPTION_AES)
set(N2N_OPTION_AES ON)
endif(NOT DEFINED N2N_OPTION_AES)
add_definitions(-DN2N_VERSION='\"${N2N_VERSION}\"' -DN2N_OSNAME='\"${N2N_OSNAME}\"')
add_definitions(-DN2N_VERSION="${N2N_VERSION}" -DN2N_OSNAME="${N2N_OSNAME}")
if(N2N_OPTION_AES)
add_definitions(-DN2N_HAVE_AES)

Loading…
Cancel
Save