# Autogenerated file, run build/tools/setup_cmake.py to regenerate INCLUDE (CheckCXXSourceCompiles) CHECK_CXX_SOURCE_COMPILES("/** * ile nothing.cpp * rief nothing * * Copyright 2007-2013 IMP Inventors. All rights reserved. * */ struct Base { virtual void f() = 0; }; struct Derived : Base { virtual void f() final {} }; int main() { return 0; } " IMP_COMPILER_HAS_FINAL) if(${IMP_COMPILER_HAS_FINAL} MATCHES 1) set(IMP_COMPILER_HAS_FINAL 1 CACHE INTERNAL "" FORCE ) else() set(IMP_COMPILER_HAS_FINAL 0 CACHE INTERNAL "" FORCE) endif()