aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Pokrzywka <romain@kdab.net>2010-07-26 20:08:32 +0000
committerRomain Pokrzywka <romain@kdab.net>2010-07-26 20:08:32 +0000
commit50ddbcc1bd2226ba38b3f7a8707430f0319a60a1 (patch)
treedbfa5e8b93ecf84a1897676d8da6bc7bfdb6e716
parent91d46ffaa552f2f25ce0976511779f5a72383ade (diff)
downloadextra-cmake-modules-50ddbcc1bd2226ba38b3f7a8707430f0319a60a1.tar.gz
extra-cmake-modules-50ddbcc1bd2226ba38b3f7a8707430f0319a60a1.tar.bz2
remove accidental content duplication and unneeded lines after review
CCMAIL:neundorf@kde.org svn path=/trunk/KDE/kdelibs/; revision=1155054
-rw-r--r--modules/FindWcecompat.cmake41
1 files changed, 0 insertions, 41 deletions
diff --git a/modules/FindWcecompat.cmake b/modules/FindWcecompat.cmake
index c9603470..f3c26c31 100644
--- a/modules/FindWcecompat.cmake
+++ b/modules/FindWcecompat.cmake
@@ -9,10 +9,6 @@
#
# Redistribution and use is allowed according to the terms of the BSD license.
-if(WCECOMPAT_INCLUDE_DIR AND WCECOMPAT_LIB_FOUND)
- set(Wcecompat_FIND_QUIETLY TRUE)
-endif(WCECOMPAT_INCLUDE_DIR AND WCECOMPAT_LIB_FOUND)
-
find_path(WCECOMPAT_INCLUDE_DIR errno.h PATH_SUFFIXES wcecompat)
set(WCECOMPAT_LIB_FOUND FALSE)
@@ -25,42 +21,5 @@ if(WCECOMPAT_INCLUDE_DIR)
endif(WCECOMPAT_LIBRARIES)
endif(WCECOMPAT_INCLUDE_DIR)
-# I have no idea what this is about, but it seems to be used quite often, so I add this here
-set(WCECOMPAT_CONST const)
-
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Wcecompat DEFAULT_MSG WCECOMPAT_LIBRARIES WCECOMPAT_LIB_FOUND)
-
-# Try to find Wcecompat functionality
-# Once done this will define
-#
-# WCECOMPAT_FOUND - system has Wcecompat
-# WCECOMPAT_INCLUDE_DIR - Wcecompat include directory
-# WCECOMPAT_LIBRARIES - Libraries needed to use Wcecompat
-#
-# Copyright (c) 2010, Andreas Holzammer, <andy@kdab.com>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-
-if(WCECOMPAT_INCLUDE_DIR AND WCECOMPAT_LIB_FOUND)
- set(Wcecompat_FIND_QUIETLY TRUE)
-endif(WCECOMPAT_INCLUDE_DIR AND WCECOMPAT_LIB_FOUND)
-
-find_path(WCECOMPAT_INCLUDE_DIR errno.h PATH_SUFFIXES wcecompat)
-
-set(WCECOMPAT_LIB_FOUND FALSE)
-
-if(WCECOMPAT_INCLUDE_DIR)
- find_library(WCECOMPAT_LIBRARIES NAMES wcecompat wcecompatex )
-
- if(WCECOMPAT_LIBRARIES)
- set(WCECOMPAT_LIB_FOUND TRUE)
- endif(WCECOMPAT_LIBRARIES)
-endif(WCECOMPAT_INCLUDE_DIR)
-
-# I have no idea what this is about, but it seems to be used quite often, so I add this here
-set(WCECOMPAT_CONST const)
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(Wcecompat DEFAULT_MSG WCECOMPAT_LIBRARIES WCECOMPAT_LIB_FOUND)
-