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()