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)
170
170
endif ()
171
171
add_feature_info (iconv GIT_USE_ICONV "iconv encoding conversion support" )
172
172
173
- #
174
- # Configure support
175
- #
176
-
177
- configure_file (features.h.in git2/sys/features.h )
178
-
179
173
#
180
174
# Include child projects
181
175
#
Original file line number Diff line number Diff line change 1
1
set (CLI_INCLUDES
2
- "${libgit2_BINARY_DIR} /src"
2
+ "${libgit2_BINARY_DIR} /src/util "
3
3
"${libgit2_SOURCE_DIR} /src/util"
4
4
"${libgit2_SOURCE_DIR} /src/cli"
5
5
"${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)
8
8
include (PkgBuildConfig )
9
9
10
10
set (LIBGIT2_INCLUDES
11
- "${PROJECT_BINARY_DIR} /src"
11
+ "${PROJECT_BINARY_DIR} /src/util "
12
12
"${PROJECT_SOURCE_DIR} /src/libgit2"
13
13
"${PROJECT_SOURCE_DIR} /src/util"
14
14
"${PROJECT_SOURCE_DIR} /include" )
Original file line number Diff line number Diff line change @@ -4,8 +4,10 @@ add_library(util OBJECT)
4
4
set_target_properties (util PROPERTIES C_STANDARD 90 )
5
5
set_target_properties (util PROPERTIES C_EXTENSIONS OFF )
6
6
7
+ configure_file (git2_features.h.in git2_features.h )
8
+
7
9
set (UTIL_INCLUDES
8
- "${PROJECT_BINARY_DIR} /src"
10
+ "${PROJECT_BINARY_DIR} /src/util "
9
11
"${PROJECT_SOURCE_DIR} /src/util"
10
12
"${PROJECT_SOURCE_DIR} /include" )
11
13
File renamed without changes.
Original file line number Diff line number Diff line change 7
7
#ifndef INCLUDE_git2_util_h__
8
8
#define INCLUDE_git2_util_h__
9
9
10
- #ifndef LIBGIT2_NO_FEATURES_H
11
- # include "git2/sys/features .h"
10
+ #if !defined( LIBGIT2_NO_FEATURES_H )
11
+ # include "git2_features .h"
12
12
#endif
13
13
14
14
#include "git2/common.h"
You can’t perform that action at this time.
0 commit comments