diff --git a/fdbserver/CMakeLists.txt b/fdbserver/CMakeLists.txt index 94e166ea83..bb211ff9d2 100644 --- a/fdbserver/CMakeLists.txt +++ b/fdbserver/CMakeLists.txt @@ -179,11 +179,11 @@ add_library(fdb_sqlite STATIC sqlite/sqliteInt.h sqlite/sqliteLimit.h sqlite/sqlite3.amalgamation.c) -target_compile_definitions(fdb_sqlite PRIVATE $<$:NDEBUG>) # Suppress warnings in sqlite since it's third party if(NOT WIN32) - target_compile_options(sqlite BEFORE PRIVATE -w) # disable warnings for third party + target_compile_definitions(fdb_sqlite PRIVATE $<$:NDEBUG>) + target_compile_options(fdb_sqlite BEFORE PRIVATE -w) # disable warnings for third party endif() set(java_workload_docstring "Build the Java workloads (makes fdbserver link against JNI)")