diff options
-rw-r--r-- | ConfigureChecks.cmake | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 37976154..10b7a1db 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -296,6 +296,9 @@ endif( ) set( MYSQL_INCLUDE_DIRS "${MYSQL_INCLUDE_DIRS}" CACHE INTERNAL "" FORCE ) set( MYSQL_LIBRARIES "${MYSQL_LIBRARIES}" CACHE INTERNAL "" FORCE ) + +message( STATUS " includes ${MYSQL_INCLUDE_DIRS} ") +message( STATUS " libraries ${MYSQL_LIBRARIES} ") set( USE_MYSQL 1 ) tde_save_and_set( CMAKE_REQUIRED_INCLUDES ${MYSQL_INCLUDE_DIRS} ) @@ -340,8 +343,11 @@ endif( WITH_MYSQL ) if( WITH_POSTGRESQL ) ##### check for PostgreSQL +message( STATUS "Check for PostgreSQL" ) find_package( PostgreSQL ) -if( PostgreSQL_VERSION_STRING ) +if( PostgreSQL_INCLUDE_DIR AND PostgreSQL_LIBRARY ) + message( STATUS " includes ${PostgreSQL_INCLUDE_DIR} ") + message( STATUS " library ${PostgreSQL_LIBRARY} ") set( USE_POSTGRESQL 1 ) else() tde_message_fatal( "Postgresql support is requested but Postgresql was not found on your system." ) |