ansilove

ANSI and ASCII art to PNG converter in C
Log | Files | Refs | README | LICENSE

commit 3488cb670d571812360ef1a64bf3df3ac4706020
parent d6a5720f988e809083d67a025b48842c0dab9829
Author: Frederic Cambus <fred@statdns.com>
Date:   Fri, 15 Jan 2016 23:34:09 +0100

Add additional include directories for compat functions to avoid using relative path in includes

Diffstat:
MCMakeLists.txt | 3+++
Msrc/main.c | 2+-
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -9,6 +9,9 @@ include(GNUInstallDirs) list(APPEND CMAKE_REQUIRED_DEFINITIONS -D_OPENBSD_SOURCE) check_function_exists(strtonum HAVE_STRTONUM) +# Additional include directories for compat functions +include_directories("compat") + # GD find_path(GD_INCLUDE_DIRS gd.h) find_library(GD_LIBRARIES NAMES gd REQUIRED) diff --git a/src/main.c b/src/main.c @@ -16,7 +16,7 @@ #include <getopt.h> #ifndef HAVE_STRTONUM -#include "../compat/strtonum.h" +#include "strtonum.h" #endif #include "alconfig.h"