aboutsummaryrefslogtreecommitdiffstats
path: root/modules/extra/pgsql.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra/pgsql.cpp')
-rw-r--r--modules/extra/pgsql.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/extra/pgsql.cpp b/modules/extra/pgsql.cpp
index 45e6e0013..d6d85f7e1 100644
--- a/modules/extra/pgsql.cpp
+++ b/modules/extra/pgsql.cpp
@@ -26,8 +26,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-/// $CompilerFlags: find_compiler_flags("libpq")
-/// $LinkerFlags: find_linker_flags("libpq")
+/// BEGIN CMAKE
+/// target_require_package(${TARGET} "libpq" "PostgreSQL" "PostgreSQL::PostgreSQL")
+/// END CMAKE
+
/// $PackageInfo: require_system("alpine") pcre2-dev pkgconf
/// $PackageInfo: require_system("arch") pkgconf postgresql-libs