logswan

Fast Web log analyzer using probabilistic data structures
Log | Files | Refs | README | LICENSE

commit aabb61f6bb04fd327c8f9b004e82606c6ed3df96
parent 75d6f9fac2d79fad60d21e8008c55219448d8b3e
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date:   Mon, 21 Dec 2015 15:31:04 +0100

Using CMAKE_INSTALL_PREFIX instead of hardcoding /usr/local and removing unnecessary trailing slash

Diffstat:
MCMakeLists.txt | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -28,7 +28,7 @@ if(NOT HAVE_STRTONUM) endif() add_definitions(-Wall -Wextra -Werror -std=c99 -pedantic) -add_definitions(-DDBPATH="/usr/local/share/GeoIP/") +add_definitions(-DDBPATH="${CMAKE_INSTALL_PREFIX}/share/GeoIP") add_executable(logswan ${SRC} ${DEPS}) target_link_libraries(logswan ${LIB_GEOIP} ${LIB_JANSSON} m)