mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-16 18:43:18 +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
|
||||
bin
|
||||
DOC
|
||||
"The path to the pg_config of the PostgreSQL version to compile against"
|
||||
REQUIRED)
|
||||
"The path to the pg_config of the PostgreSQL version to compile against")
|
||||
|
||||
if (NOT PG_CONFIG)
|
||||
message(FATAL_ERROR "Unable to find 'pg_config'")
|
||||
|
@ -1,8 +1,7 @@
|
||||
# Testing support
|
||||
find_program(PG_REGRESS pg_regress
|
||||
HINTS
|
||||
"${PG_PKGLIBDIR}/pgxs/src/test/regress/"
|
||||
REQUIRED)
|
||||
"${PG_PKGLIBDIR}/pgxs/src/test/regress/")
|
||||
|
||||
message(STATUS "Using pg_regress ${PG_REGRESS}")
|
||||
|
||||
@ -10,8 +9,7 @@ find_program(PG_ISOLATION_REGRESS pg_isolation_regress
|
||||
HINTS
|
||||
${BINDIR}/
|
||||
${PG_PKGLIBDIR}/pgxs/src/test/isolation/
|
||||
${PG_SOURCE_DIR}/src/test/isolation
|
||||
REQUIRED)
|
||||
${PG_SOURCE_DIR}/src/test/isolation)
|
||||
|
||||
message(STATUS "Using pg_isolation_regress ${PG_ISOLATION_REGRESS}")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user