From b3b6fa673138519b3bea123e464ec1d9ca6ef915 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Thu, 18 Jun 2009 08:55:37 +0000 Subject: applied suggest change from alex on kde-commit svn path=/trunk/KDE/kdelibs/; revision=983398 --- modules/FindKDEWIN32.cmake | 26 ++++++++++++++++++++++++++ modules/FindKDEWin32.cmake | 26 -------------------------- 2 files changed, 26 insertions(+), 26 deletions(-) create mode 100644 modules/FindKDEWIN32.cmake delete mode 100644 modules/FindKDEWin32.cmake (limited to 'modules') 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, +# Copyright (c) 2007-2009, Ralf Habacker, +# +# 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) diff --git a/modules/FindKDEWin32.cmake b/modules/FindKDEWin32.cmake deleted file mode 100644 index 1f78055b..00000000 --- a/modules/FindKDEWin32.cmake +++ /dev/null @@ -1,26 +0,0 @@ -# - 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, -# Copyright (c) 2007-2009, Ralf Habacker, -# -# 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) -- cgit v1.2.1