File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
gpcontrib/diskquota/cmake Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -40,14 +40,15 @@ exec_program(${PG_CONFIG} ARGS --libdir OUTPUT_VARIABLE PG_LIB_DIR)
4040exec_program (${PG_CONFIG} ARGS --pgxs OUTPUT_VARIABLE PG_PGXS)
4141get_filename_component (PG_HOME "${PG_BIN_DIR} /.." ABSOLUTE )
4242
43- # If PG_SRC_DIR is provided (in-tree build), use source tree include paths
44- # This is necessary because pg_config --includedir returns the install path ,
45- # which doesn 't exist yet during in-tree builds
43+ # If PG_SRC_DIR is provided (in-tree build), use source tree paths
44+ # This is necessary because pg_config returns install paths ,
45+ # which don 't exist yet during in-tree builds
4646if (PG_SRC_DIR)
4747 set (PG_INCLUDE_DIR "${PG_SRC_DIR} /src/include" )
4848 set (PG_INCLUDE_DIR_SERVER "${PG_SRC_DIR} /src/include" )
49- # libpq headers are in src/interfaces/libpq in source tree
49+ # libpq headers and library are in src/interfaces/libpq in source tree
5050 set (PG_INCLUDE_DIR_LIBPQ "${PG_SRC_DIR} /src/interfaces/libpq" )
51+ set (PG_LIB_DIR "${PG_SRC_DIR} /src/interfaces/libpq" )
5152 message (STATUS "In-tree build: using source include path '${PG_INCLUDE_DIR} '" )
5253else ()
5354 # Standalone build: try to derive PG_SRC_DIR from Makefile.global (optional)
You can’t perform that action at this time.
0 commit comments