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)