Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Lloyd-Pottiger <[email protected]>
  • Loading branch information
Lloyd-Pottiger committed Apr 3, 2024
1 parent a3423bb commit 75f5f5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ if (USE_INTERNAL_POCO_LIBRARY)
set (ENABLE_DATA_ODBC 0 CACHE INTERNAL "") # TODO (build fail)
endif ()
add_subdirectory (poco)
target_compile_options(Net PRIVATE "-Wno-error=deprecated-declarations")
target_no_warning(Net deprecated-declarations)
target_compile_options(Net PUBLIC "-Wno-error=deprecated-declarations")
target_compile_options(Net PUBLIC "-Wno-deprecated-declarations")
target_no_warning(NetSSL deprecated-declarations)
target_no_warning(Net deprecated-enum-enum-conversion)
unset (CMAKE_DISABLE_FIND_PACKAGE_ZLIB)
Expand Down

0 comments on commit 75f5f5b

Please sign in to comment.