--- CMakeLists.txt.orig 2015-09-11 15:30:41 UTC +++ CMakeLists.txt @@ -72,6 +72,7 @@ if(WITH_JSON) endif() add_definitions("-DJSON") + string(REPLACE ";" " " JSON_CFLAGS "${JSON_CFLAGS}") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${JSON_CFLAGS}") endif() @@ -135,11 +136,7 @@ message(STATUS "Default ZMap configuration file locati foreach(EACH_CONF ${CONF_FILES}) get_filename_component(CONF_BASENAME ${EACH_CONF} NAME) message(STATUS "Checking if ${CONF_BASENAME} exists there...") - if(NOT EXISTS "/etc/zmap/${CONF_BASENAME}") - install(FILES ${EACH_CONF} DESTINATION ${CONFIG_DESTINATION}) - else() - message(WARNING "Existing configuration file detected at /etc/zmap/${CONF_BASENAME}, ${CONF_BASENAME} from sources will NOT be installed. Please check and install manually!") - endif() + install(FILES ${EACH_CONF} DESTINATION ${CONFIG_DESTINATION}) endforeach() # Allow Debian Packaging