CMakeNinjaFindMake.cmake 754 B

123456789101112131415161718
  1. #=============================================================================
  2. # Copyright 2011 Kitware, Inc.
  3. #
  4. # Distributed under the OSI-approved BSD License (the "License");
  5. # see accompanying file Copyright.txt for details.
  6. #
  7. # This software is distributed WITHOUT ANY WARRANTY; without even the
  8. # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  9. # See the License for more information.
  10. #=============================================================================
  11. # (To distribute this file outside of CMake, substitute the full
  12. # License text for the above reference.)
  13. find_program(CMAKE_MAKE_PROGRAM
  14. NAMES ninja-build ninja
  15. DOC "Program used to build from build.ninja files.")
  16. mark_as_advanced(CMAKE_MAKE_PROGRAM)