summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineASM-ATTCompiler.cmake
diff options
context:
space:
mode:
authorTamar Kranenburg <info@takar.nl>2015-05-30 13:17:47 (GMT)
committerBrad King <brad.king@kitware.com>2015-06-01 15:01:00 (GMT)
commitd4fd30d8d8f5b9c4b5a110b4676cad2a19d7c314 (patch)
treec8dd487fd5f470bcc7599c191b416ad18cc78195 /Modules/CMakeDetermineASM-ATTCompiler.cmake
parent8bd9505976731a24d07ee7d52e130e3d6521d1ed (diff)
downloadCMake-d4fd30d8d8f5b9c4b5a110b4676cad2a19d7c314.zip
CMake-d4fd30d8d8f5b9c4b5a110b4676cad2a19d7c314.tar.gz
CMake-d4fd30d8d8f5b9c4b5a110b4676cad2a19d7c314.tar.bz2
FindPostgreSQL: Search some more common packaging locations
Use PATH_SUFFIXES to search more common packaging locations. On Windows, we can use suffixes to search in the standard Program Files locations without hard-coding the C:/ path. On Ubuntu/Debian, starting with PostgreSQL 9.3 the header file pg_type.h is moved to a separate package (from libpq-dev to postgresql-server-dev) and consequently the file pg_type.h is moved to a new location: /usr/include/postgresql/<version>/server/catalog/pg_type.h While at it, use separate PATH_SUFFIXES variables for library, type and include (this is merely an optimization).
Diffstat (limited to 'Modules/CMakeDetermineASM-ATTCompiler.cmake')
0 files changed, 0 insertions, 0 deletions