Warning, /frameworks/kdelibs4support/cmake/modules/FindWcecompat.cmake is written in an unsupported language. File is not indexed.

0001 # Try to find Wcecompat functionality
0002 # Once done this will define
0003 #
0004 #  WCECOMPAT_FOUND - system has Wcecompat
0005 #  WCECOMPAT_INCLUDE_DIR - Wcecompat include directory
0006 #  WCECOMPAT_LIBRARIES - Libraries needed to use Wcecompat
0007 #
0008 # Copyright (c) 2010, Andreas Holzammer, <andy@kdab.com>
0009 #
0010 # Redistribution and use is allowed according to the terms of the BSD license.
0011 
0012 find_path(WCECOMPAT_INCLUDE_DIR errno.h PATH_SUFFIXES wcecompat)
0013 
0014 set(WCECOMPAT_LIB_FOUND FALSE)
0015 
0016 if(WCECOMPAT_INCLUDE_DIR)
0017     find_library(WCECOMPAT_LIBRARIES NAMES wcecompat wcecompatex )
0018 
0019     if(WCECOMPAT_LIBRARIES)
0020       set(WCECOMPAT_LIB_FOUND TRUE)
0021     endif(WCECOMPAT_LIBRARIES)
0022 endif(WCECOMPAT_INCLUDE_DIR)
0023 
0024 include(FindPackageHandleStandardArgs)
0025 find_package_handle_standard_args(Wcecompat  DEFAULT_MSG  WCECOMPAT_LIBRARIES  WCECOMPAT_LIB_FOUND)