Skip to content

Commit

Permalink
feat: Updated CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Feb 1, 2024
1 parent b2bb9eb commit af9f5d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ endif()
# with OpenSSL, Postgres must also have OpenSSL enabled.
check_symbol_exists(USE_OPENSSL ${PG_INCLUDEDIR}/pg_config.h PG_USE_OPENSSL)

if(USE_OPENSSL AND (NOT PG_USE_OPENSSL))
if(NOT (${PG_VERSION_MAJOR} EQUAL 13) AND (${PG_VERSION_MAJOR} LESS 16)) AND (NOT PG_USE_OPENSSL))
message(
FATAL_ERROR
"PostgreSQL was built without OpenSSL support, which TimescaleDB needs for full compatibility. Please rebuild PostgreSQL using `--with-openssl` or if you want to continue without OpenSSL, re-run bootstrap with `-DUSE_OPENSSL=0`"
Expand Down

0 comments on commit af9f5d7

Please sign in to comment.