mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-19 04:03:06 +08:00
Remove REQUIRED from find_program in CMake
Remove option `REQUIRED` from calls to `find_program` in CMake files, since such options doesn't exist and is ignored.
This commit is contained in:
parent
bbe0f70c35
commit
25a72f1547
@ -134,8 +134,7 @@ find_program(PG_CONFIG pg_config
|
|||||||
PATH_SUFFIXES
|
PATH_SUFFIXES
|
||||||
bin
|
bin
|
||||||
DOC
|
DOC
|
||||||
"The path to the pg_config of the PostgreSQL version to compile against"
|
"The path to the pg_config of the PostgreSQL version to compile against")
|
||||||
REQUIRED)
|
|
||||||
|
|
||||||
if (NOT PG_CONFIG)
|
if (NOT PG_CONFIG)
|
||||||
message(FATAL_ERROR "Unable to find 'pg_config'")
|
message(FATAL_ERROR "Unable to find 'pg_config'")
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
# Testing support
|
# Testing support
|
||||||
find_program(PG_REGRESS pg_regress
|
find_program(PG_REGRESS pg_regress
|
||||||
HINTS
|
HINTS
|
||||||
"${PG_PKGLIBDIR}/pgxs/src/test/regress/"
|
"${PG_PKGLIBDIR}/pgxs/src/test/regress/")
|
||||||
REQUIRED)
|
|
||||||
|
|
||||||
message(STATUS "Using pg_regress ${PG_REGRESS}")
|
message(STATUS "Using pg_regress ${PG_REGRESS}")
|
||||||
|
|
||||||
@ -10,8 +9,7 @@ find_program(PG_ISOLATION_REGRESS pg_isolation_regress
|
|||||||
HINTS
|
HINTS
|
||||||
${BINDIR}/
|
${BINDIR}/
|
||||||
${PG_PKGLIBDIR}/pgxs/src/test/isolation/
|
${PG_PKGLIBDIR}/pgxs/src/test/isolation/
|
||||||
${PG_SOURCE_DIR}/src/test/isolation
|
${PG_SOURCE_DIR}/src/test/isolation)
|
||||||
REQUIRED)
|
|
||||||
|
|
||||||
message(STATUS "Using pg_isolation_regress ${PG_ISOLATION_REGRESS}")
|
message(STATUS "Using pg_isolation_regress ${PG_ISOLATION_REGRESS}")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user