Warning, /games/kmuddy/FindMXP.cmake is written in an unsupported language. File is not indexed.

0001 # - Try to find MXP
0002 # Once done this will define
0003 #
0004 #  MXP_FOUND - system has MXP
0005 #  MXP_INCLUDE_DIR - the MXP include directory
0006 #  MXP_LIBRARIES - Link these to use MXP
0007 #  MXP_DEFINITIONS - Compiler switches required for using MXP
0008 # Redistribution and use is allowed according to the terms of the BSD license.
0009 
0010 if ( MXP_INCLUDE_DIR AND MXP_LIBRARIES )
0011    # in cache already
0012    SET(MXP_FIND_QUIETLY TRUE)
0013 endif ( MXP_INCLUDE_DIR AND MXP_LIBRARIES )
0014 
0015 set(MXP_INCLUDE_DIR)
0016 set(MXP_LIBRARIES)
0017 
0018 FIND_PATH(MXP_INCLUDE_DIR NAMES libmxp/libmxp.h
0019 )
0020 
0021 FIND_LIBRARY(MXP_LIBRARIES NAMES mxp
0022 )
0023 
0024 include(FindPackageHandleStandardArgs)
0025 FIND_PACKAGE_HANDLE_STANDARD_ARGS(MXP DEFAULT_MSG MXP_INCLUDE_DIR MXP_LIBRARIES )
0026 
0027 # show the MXP_INCLUDE_DIR and MXP_LIBRARIES variables only in the advanced view
0028 MARK_AS_ADVANCED(MXP_INCLUDE_DIR MXP_LIBRARIES )
0029