CMP0173-common.cmake 399 B

123456789101112
  1. include(CMakeFindFrameworks OPTIONAL RESULT_VARIABLE found)
  2. if(NOT should_find AND found)
  3. message(FATAL_ERROR
  4. "The CMakeFindFrameworks module should not have been found, but it was."
  5. )
  6. endif()
  7. if(should_find AND NOT found)
  8. message(FATAL_ERROR
  9. "The CMakeFindFrameworks module should have been found, but it was not."
  10. )
  11. endif()
  12. include(${CMAKE_ROOT}/Modules/CMakeFindFrameworks.cmake)