Changed ADDITIONAL_SEARCH_PATHS to PostgreSQL_ADDITIONAL_SEARCH_PATHS.

This commit is contained in:
Andrew Maclean 2010-07-09 15:30:21 +10:00
parent 106de6785a
commit 56da481eff
1 changed files with 2 additions and 2 deletions

View File

@ -97,13 +97,13 @@ set(PostgreSQL_KNOWN_VERSIONS ${PostgreSQL_ADDITIONAL_VERSIONS}
# Define additional search paths for root directories. # Define additional search paths for root directories.
if ( WIN32 ) if ( WIN32 )
foreach (suffix ${PostgreSQL_KNOWN_VERSIONS} ) foreach (suffix ${PostgreSQL_KNOWN_VERSIONS} )
set(ADDITIONAL_SEARCH_PATHS ${ADDITIONAL_SEARCH_PATHS} "C:/Program Files/PostgreSQL/${suffix}" ) set(PostgreSQL_ADDITIONAL_SEARCH_PATHS ${PostgreSQL_ADDITIONAL_SEARCH_PATHS} "C:/Program Files/PostgreSQL/${suffix}" )
endforeach(suffix) endforeach(suffix)
endif( WIN32 ) endif( WIN32 )
set( PostgreSQL_ROOT_DIRECTORIES set( PostgreSQL_ROOT_DIRECTORIES
${PostgreSQL_ROOT_DIRECTORIES} ${PostgreSQL_ROOT_DIRECTORIES}
${PostgreSQL_ROOT} ${PostgreSQL_ROOT}
${ADDITIONAL_SEARCH_PATHS} ${PostgreSQL_ADDITIONAL_SEARCH_PATHS}
) )
# #