Skip to content

Commit dfd0290

Browse files
committed
Disabled deprecation warnings for unit tests in CMakeLists.txt
1 parent 15c809e commit dfd0290

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ if(MSVC)
8080
target_link_options(unit_tests PRIVATE "/ENTRY:wmainCRTStartup")
8181
endif()
8282
endif()
83+
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
84+
target_compile_options(unit_tests PUBLIC
85+
# disabled due to unit tests still testing deprecated features
86+
-Wdeprecated-declarations)
87+
endif()
8388

8489
target_precompile_headers(unit_tests PRIVATE
8590
<sqlite3.h>

0 commit comments

Comments
 (0)