Warning, /multimedia/kdenlive/cmake/modules/FindDrMinGW.cmake is written in an unsupported language. File is not indexed.

0001 # cmake macro to find DrMinGW Windows crash handler
0002 #
0003 # SPDX-FileCopyrightText: 2018 Vincent Pinon <vpinon@kde.org>
0004 # SPDX-License-Identifier: BSD-3-Clause
0005 #
0006 # once done this will define:
0007 #
0008 #  DRMINGW_FOUND - system has DrMinGW
0009 #  DRMINGW_INCLUDE_DIR - the DrMinGW include directory
0010 #  DRMINGW_LIBRARY - the libraries needed to use DrMinGW
0011 #
0012 # redistribution and use is allowed according to the terms of the bsd license.
0013 
0014 if (DRMINGW_INCLUDE_DIR AND DRMINGW_LIBRARY)
0015     # already in cache, be silent
0016     set (DRMINGW_FIND_QUIETLY true)
0017 endif (DRMINGW_INCLUDE_DIR AND DRMINGW_LIBRARY)
0018 
0019 find_path (DRMINGW_INCLUDE_DIR exchndl.h)
0020 find_library (DRMINGW_LIBRARY exchndl)
0021 
0022 include (FindPackageHandleStandardArgs)
0023 find_package_handle_standard_args (DrMinGW DEFAULT_MSG DRMINGW_INCLUDE_DIR DRMINGW_LIBRARY)
0024 
0025 mark_as_advanced(DRMINGW_INCLUDE_DIR DRMINGW_LIBRARY)
0026