File tree Expand file tree Collapse file tree 6 files changed +7
-11
lines changed
Expand file tree Collapse file tree 6 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -170,12 +170,6 @@ if(ICONV_FOUND)
170170endif ()
171171add_feature_info(iconv GIT_USE_ICONV "iconv encoding conversion support" )
172172
173- #
174- # Configure support
175- #
176-
177- configure_file (features.h.in git2/sys/features.h)
178-
179173#
180174# Include child projects
181175#
Original file line number Diff line number Diff line change 11set (CLI_INCLUDES
2- "${libgit2_BINARY_DIR} /src"
2+ "${libgit2_BINARY_DIR} /src/util "
33 "${libgit2_SOURCE_DIR} /src/util"
44 "${libgit2_SOURCE_DIR} /src/cli"
55 "${libgit2_SOURCE_DIR} /include" )
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ set_target_properties(libgit2 PROPERTIES C_EXTENSIONS OFF)
88include (PkgBuildConfig)
99
1010set (LIBGIT2_INCLUDES
11- "${PROJECT_BINARY_DIR} /src"
11+ "${PROJECT_BINARY_DIR} /src/util "
1212 "${PROJECT_SOURCE_DIR} /src/libgit2"
1313 "${PROJECT_SOURCE_DIR} /src/util"
1414 "${PROJECT_SOURCE_DIR} /include" )
Original file line number Diff line number Diff line change @@ -4,8 +4,10 @@ add_library(util OBJECT)
44set_target_properties (util PROPERTIES C_STANDARD 90)
55set_target_properties (util PROPERTIES C_EXTENSIONS OFF )
66
7+ configure_file (git2_features.h.in git2_features.h)
8+
79set (UTIL_INCLUDES
8- "${PROJECT_BINARY_DIR} /src"
10+ "${PROJECT_BINARY_DIR} /src/util "
911 "${PROJECT_SOURCE_DIR} /src/util"
1012 "${PROJECT_SOURCE_DIR} /include" )
1113
File renamed without changes.
Original file line number Diff line number Diff line change 77#ifndef INCLUDE_git2_util_h__
88#define INCLUDE_git2_util_h__
99
10- #ifndef LIBGIT2_NO_FEATURES_H
11- # include "git2/sys/features .h"
10+ #if !defined( LIBGIT2_NO_FEATURES_H )
11+ # include "git2_features .h"
1212#endif
1313
1414#include "git2/common.h"
You can’t perform that action at this time.
0 commit comments