diff options
author | Brad King <brad.king@kitware.com> | 2021-01-18 16:15:49 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-01-18 16:16:04 (GMT) |
commit | 28523d63ffc0e155bd7c32630d132f2c4418fd1c (patch) | |
tree | 0831b5da27394e470a638068c08923fa7a55f7d2 /Tests | |
parent | 21fc98ceec58e841d489dac37057fb45908a3fad (diff) | |
parent | 8b066f1a65466ae2dc542b097f877795f386f942 (diff) | |
download | CMake-28523d63ffc0e155bd7c32630d132f2c4418fd1c.zip CMake-28523d63ffc0e155bd7c32630d132f2c4418fd1c.tar.gz CMake-28523d63ffc0e155bd7c32630d132f2c4418fd1c.tar.bz2 |
Merge topic 'FindPostgreSQL-server-component'
8b066f1a65 FindPostgreSQL: Add server component
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !5680
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/FindPostgreSQL/Test/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/FindPostgreSQL/Test/CMakeLists.txt b/Tests/FindPostgreSQL/Test/CMakeLists.txt index 374e147..1bc5c56 100644 --- a/Tests/FindPostgreSQL/Test/CMakeLists.txt +++ b/Tests/FindPostgreSQL/Test/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.10) project(TestFindPostgreSQL C) include(CTest) -find_package(PostgreSQL REQUIRED) +find_package(PostgreSQL REQUIRED COMPONENTS Server) add_definitions(-DCMAKE_EXPECTED_POSTGRESQL_VERSION="${PostgreSQL_VERSION_STRING}") |