This repository has been archived on 2024-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
pacciani/cmake/FindRagel.cmake
2018-09-16 14:24:27 +02:00

11 lines
337 B
CMake

# Copyright 2017 the Monicelli project authors. All rights reserved.
# Use of this source code is governed by a GPLv3 license, see LICENSE.txt.
find_program(RAGEL ragel)
if (${RAGEL} STREQUAL "RAGEL-NOTFOUND")
message(FATAL_ERROR "Please install ragel to compile Monicelli.")
else()
message(STATUS "Found ragel: ${RAGEL}")
endif()