commit | d2385793dba21206913046512d2ae13bcc6e7d06 | [log] [tgz] |
---|---|---|
author | Mikolaj-Filar-Mobica <[email protected]> | Fri Mar 17 15:54:15 2023 +0100 |
committer | GitHub <[email protected]> | Fri Mar 17 07:54:15 2023 -0700 |
tree | cd16d19b0693aa250ce9dcddb2576adf6d9a1013 | |
parent | 6df1bbc42bb9c4a17331a282af1d8860c2aeb99b [diff] |
Ignore deprecated declarations in tests also for MSVC compiler (#205)
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 4e19be7..560a382 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt
@@ -79,6 +79,8 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_CXX_COMPILER_ID MATCHES "(Apple)?Clang") add_compile_options(-Wno-deprecated-declarations) +elseif(MSVC) + add_compile_options(/wd4996) endif() add_definitions(-DCL_TARGET_OPENCL_VERSION=300)