summaryrefslogtreecommitdiffstats
path: root/Modules/FindPostgreSQL.cmake
Commit message (Collapse)AuthorAgeFilesLines
* FindPostgreSQL: Fix for pg_config in multilib configurations.Chuck Atkins2014-09-021-6/+16
| | | | | | | Some platforms, Fedora 20 and RHEL 7 in particular, will have multiple pg_config_${arch}.h files all included by the top level pg_config.h. This checks all of the available pg_config*.h headers for version information.
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-6/+14
| | | | | | | | Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.
* Find PostgreSQL headers on DebianPere Nubiola i Radigales2012-10-151-0/+1
| | | | Fixes Debian bug 665721 (http://bugs.debian.org/665721)
* include FPHSA from current directory in all modulesRolf Eike Beer2012-09-081-1/+1
|
* use the find_* functions ENV parameterRolf Eike Beer2012-08-141-6/+1
| | | | | | | | | Instead of directly passing $ENV{SOMEVAR} to a find_* call pass in ENV SOMEVAR. This will make sure the paths will get correctly handled through different platforms, especially on Windows. Also fixes one place where paths with windows delimiters (\) were hardcoded to use forward slashes.
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-4/+4
| | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Convert CMake-language commands to lower caseKitware Robot2012-08-131-2/+2
| | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed
* FindPostgreSQL: support version selectionRolf Eike Beer2012-01-261-16/+16
|
* FindPostgreSQL: fix PATH_SUFFIXES, better output for FPHSAAlex Neundorf2011-08-011-5/+4
| | | | Alex
* Mark the results from find() as advancedAlex Neundorf2011-08-011-0/+2
| | | | Alex
* Use FPHSA(), remove unnecessary stuff and don't recommend link_directories()Alex Neundorf2011-08-011-38/+8
| | | | | | | -don't recommend using link_directories() -don't do the extra if(EXISTS) checks, since the code is already inside a if(PostgreSQL_FOUND) Alex
* More PATH_SUFFIXES for finding Postgresql and also search catalog/pg_type.hAlex Neundorf2011-08-011-0/+22
| | | | | | Patch from Jaroslaw Staniek, reviewed by Andrew Maclean Alex
* Documentation: Fix a few typos (#11883)Modestas Vainius2011-02-221-3/+1
| | | | | | | | | | | | | W: cmake: manpage-has-errors-from-man usr/share/man/man1/cmake.1.gz 10029: warning [p 158, 13.5i]: can't break line I: cmake: spelling-error-in-manpage usr/share/man/man1/cmake.1.gz informations information I: cmake: spelling-error-in-manpage usr/share/man/man1/cmake.1.gz dependant dependent I: cmake: spelling-error-in-manpage usr/share/man/man1/cmake.1.gz prefered preferred I: cmake: spelling-error-in-binary ./usr/bin/cmake prefered preferred I: cmake: spelling-error-in-binary ./usr/bin/cpack prefered preferred I: cmake: spelling-error-in-binary ./usr/bin/ctest prefered preferred I: cmake-data: spelling-error-in-manpage usr/share/man/man1/cmakepolicies.1.gz prefered preferred I: cmake-curses-gui: spelling-error-in-binary ./usr/bin/ccmake prefered preferred I: cmake-qt-gui: spelling-error-in-binary ./usr/bin/cmake-gui prefered preferred
* Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin2010-08-091-1/+1
|
* Changed ADDITIONAL_SEARCH_PATHS to PostgreSQL_ADDITIONAL_SEARCH_PATHS.Andrew Maclean2010-07-091-2/+2
|
* Forgot the copyright notice.Andrew Maclean2010-07-081-0/+14
|
* Adding a FindPostgreSQL.cmake moduleAndrew Maclean2010-07-071-0/+167