Merge branch release-2016
[alexxy/gromacs.git] / src / gromacs / CMakeLists.txt
index be72d3df3793f6d21eb29cb611ea3ead99c16fdc..65f2ac435360c91ea2ccf0d6d497b630ed4d5180 100644 (file)
@@ -167,15 +167,6 @@ check_cxx_compiler_flag(-Wno-unused-parameter HAS_NO_UNUSED_PARAMETER)
 if (HAS_NO_UNUSED_PARAMETER)
     set(_scanner_cpp_compiler_flags "${_scanner_cpp_compiler_flags} -Wno-unused-parameter")
 endif()
-check_cxx_compiler_flag(-Wno-deprecated-register HAS_NO_DEPRECATED_REGISTER)
-if (HAS_NO_DEPRECATED_REGISTER)
-    set(_scanner_cpp_compiler_flags "${_scanner_cpp_compiler_flags} -Wno-deprecated-register")
-else()
-    check_cxx_compiler_flag(-Wno-deprecated HAS_NO_DEPRECATED)
-    if (HAS_NO_DEPRECATED)
-        set(_scanner_cpp_compiler_flags "${_scanner_cpp_compiler_flags} -Wno-deprecated")
-    endif()
-endif()
 set_source_files_properties(selection/scanner.cpp PROPERTIES COMPILE_FLAGS "${_scanner_cpp_compiler_flags}")
 
 gmx_setup_tng_for_libgromacs()