diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2009-06-18 08:55:37 +0000 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2009-06-18 08:55:37 +0000 |
commit | b3b6fa673138519b3bea123e464ec1d9ca6ef915 (patch) | |
tree | 3366649bea8c819f62b854572b8b49d33864614b /modules/FindKDEWIN32.cmake | |
parent | 568ba25d48ff2d2f4b66f066f33fd43e6a20446c (diff) | |
download | extra-cmake-modules-b3b6fa673138519b3bea123e464ec1d9ca6ef915.tar.gz extra-cmake-modules-b3b6fa673138519b3bea123e464ec1d9ca6ef915.tar.bz2 |
applied suggest change from alex on kde-commit
svn path=/trunk/KDE/kdelibs/; revision=983398
Diffstat (limited to 'modules/FindKDEWIN32.cmake')
-rw-r--r-- | modules/FindKDEWIN32.cmake | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/modules/FindKDEWIN32.cmake b/modules/FindKDEWIN32.cmake new file mode 100644 index 00000000..1f78055b --- /dev/null +++ b/modules/FindKDEWIN32.cmake @@ -0,0 +1,26 @@ +# - Try to find the KDEWIN32 library +# - Try to find the KDEWIN32 library - deprecated +# +# Once done this will define +# +# KDEWIN32_FOUND - system has KDEWIN32 +# KDEWIN32_INCLUDES - the KDEWIN32 include directories +# KDEWIN32_LIBRARIES - The libraries needed to use KDEWIN32 + +# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> +# Copyright (c) 2007-2009, Ralf Habacker, <ralf.habacker@freenet.de> +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + + +if (WIN32) + message(STATUS "The kdewin32 cmake module is deprecated, use kdewin instead") + find_package(KDEWIN) + + if (KDEWIN_FOUND) + set(KDEWIN32_FOUND ${KDEWIN_FOUND}) + set(KDEWIN32_INCLUDES ${KDEWIN_INCLUDES}) + set(KDEWIN32_LIBRARIES ${KDEWIN_LIBRARIES}) + endif (KDEWIN_FOUND) +endif (WIN32) |