NOODBC inverted to WITH_ODBC

This commit is contained in:
Vladimir Dubrovin committed 2026-05-08 20:30:14 +03:00
1 parent 7871279fae
commit 5fdd4a4d6f
14 files changed
+22 -22

No files matched your search

+3 -3
View File
@@ -300,9 +300,9 @@ if(WIN32 OR 3PROXY_USE_ODBC)
endif()
endif()
# Set NOODBC if ODBC is not found
if(NOT ODBC_FOUND)
add_compile_definitions(NOODBC)
# Define WITH_ODBC when ODBC is available
if(ODBC_FOUND)
add_compile_definitions(WITH_ODBC)
endif()
# Set NORADIUS if OpenSSL is not available (RADIUS requires MD5 from OpenSSL)