Skip to content

Commit 592da42

Browse files
committed
Fine tune pdo_pgsql and pgsql extensions checks
Reporting this issue upstream instead https://bugzilla.opensuse.org/show_bug.cgi?id=1236400
1 parent a7dc650 commit 592da42

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cmake/ext/pdo_pgsql/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ set_package_properties(
8585

8686
target_link_libraries(php_ext_pdo_pgsql PUBLIC PostgreSQL::PostgreSQL)
8787

88-
# Sanity check.
88+
# Check PostgreSQL library (libpq) features.
8989
if(TARGET PostgreSQL::PostgreSQL)
9090
cmake_push_check_state(RESET)
9191
set(CMAKE_REQUIRED_LIBRARIES PostgreSQL::PostgreSQL)

cmake/ext/pgsql/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ set_package_properties(
8484

8585
target_link_libraries(php_ext_pgsql PUBLIC PostgreSQL::PostgreSQL)
8686

87+
# Check PostgreSQL library (libpq) features.
8788
if(TARGET PostgreSQL::PostgreSQL)
8889
cmake_push_check_state(RESET)
8990
set(CMAKE_REQUIRED_LIBRARIES PostgreSQL::PostgreSQL)

0 commit comments

Comments
 (0)