Mercurial > hg > orthanc-databases
comparison Resources/CMake/FindPostgreSQL.cmake @ 58:0ff0ad51181d
fix build with postgresql-11
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sun, 28 Oct 2018 12:07:51 +0100 |
parents | 7cea966b6829 |
children |
comparison
equal
deleted
inserted
replaced
57:f4d5c2c70f98 | 58:0ff0ad51181d |
---|---|
73 set(PostgreSQL_LIBRARY_DIR_MESSAGE "Set the PostgreSQL_LIBRARY_DIR cmake cache entry to the ${PostgreSQL_LIBRARY_PATH_DESCRIPTION}") | 73 set(PostgreSQL_LIBRARY_DIR_MESSAGE "Set the PostgreSQL_LIBRARY_DIR cmake cache entry to the ${PostgreSQL_LIBRARY_PATH_DESCRIPTION}") |
74 set(PostgreSQL_ROOT_DIR_MESSAGE "Set the PostgreSQL_ROOT system variable to where PostgreSQL is found on the machine E.g C:/Program Files/PostgreSQL/8.4") | 74 set(PostgreSQL_ROOT_DIR_MESSAGE "Set the PostgreSQL_ROOT system variable to where PostgreSQL is found on the machine E.g C:/Program Files/PostgreSQL/8.4") |
75 | 75 |
76 | 76 |
77 set(PostgreSQL_KNOWN_VERSIONS ${PostgreSQL_ADDITIONAL_VERSIONS} | 77 set(PostgreSQL_KNOWN_VERSIONS ${PostgreSQL_ADDITIONAL_VERSIONS} |
78 "10" "9.6" "9.5" "9.4" "9.3" "9.2" "9.1" "9.0" "8.4" "8.3" "8.2" "8.1" "8.0") | 78 "11" "10" "9.6" "9.5" "9.4" "9.3" "9.2" "9.1" "9.0" "8.4" "8.3" "8.2" "8.1" "8.0") |
79 | 79 |
80 # Define additional search paths for root directories. | 80 # Define additional search paths for root directories. |
81 if ( WIN32 ) | 81 if ( WIN32 ) |
82 foreach (suffix ${PostgreSQL_KNOWN_VERSIONS} ) | 82 foreach (suffix ${PostgreSQL_KNOWN_VERSIONS} ) |
83 set(PostgreSQL_ADDITIONAL_SEARCH_PATHS ${PostgreSQL_ADDITIONAL_SEARCH_PATHS} "C:/Program Files/PostgreSQL/${suffix}" ) | 83 set(PostgreSQL_ADDITIONAL_SEARCH_PATHS ${PostgreSQL_ADDITIONAL_SEARCH_PATHS} "C:/Program Files/PostgreSQL/${suffix}" ) |