diff options
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/yaml_private.h | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e85aef..1abdd77 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -83,7 +83,6 @@ target_include_directories(yaml PUBLIC install( FILES include/yaml.h - ${config_h} DESTINATION include COMPONENT Development ) diff --git a/configure.ac b/configure.ac index 637447f..8139c77 100644 --- a/configure.ac +++ b/configure.ac @@ -26,7 +26,7 @@ m4_define([YAML_AGE], 0) AC_PREREQ(2.59) AC_INIT([yaml], [YAML_MAJOR.YAML_MINOR.YAML_PATCH], [YAML_BUGS]) AC_CONFIG_AUX_DIR([config]) -AC_CONFIG_HEADERS([config.h]) +AC_CONFIG_HEADERS([include/config.h]) AM_INIT_AUTOMAKE([1.9 foreign]) # Define macro variables for the package version numbers. diff --git a/src/yaml_private.h b/src/yaml_private.h index d2971b8..b3351c4 100644 --- a/src/yaml_private.h +++ b/src/yaml_private.h @@ -1,5 +1,5 @@ #if HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include <yaml.h> |