From 0280fdf36e8a11f7b22b084023f0831c9ef3eee8 Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Mon, 18 Jun 2007 19:49:40 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'dbus-1.1.1'. --- cmake/modules/FindKDEWIN.cmake | 56 ------------------------------------------ 1 file changed, 56 deletions(-) delete mode 100644 cmake/modules/FindKDEWIN.cmake (limited to 'cmake/modules/FindKDEWIN.cmake') diff --git a/cmake/modules/FindKDEWIN.cmake b/cmake/modules/FindKDEWIN.cmake deleted file mode 100644 index 3e40fd37..00000000 --- a/cmake/modules/FindKDEWIN.cmake +++ /dev/null @@ -1,56 +0,0 @@ -# - Try to find the KDEWIN library -# -# used environment vars -# KDEWIN_DIR - kdewin root dir -# -# this will define -# KDEWIN_FOUND - system has KDEWIN -# KDEWIN_DIR - the KDEWIN root installation dir -# -# Copyright (c) 2007, 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) - IF (NOT KDEWIN_DIR) - # check for enviroment variable - file(TO_CMAKE_PATH "$ENV{KDEWIN_DIR}" KDEWIN_DIR) - if(NOT KDEWIN_DIR) - file(TO_CMAKE_PATH "$ENV{PROGRAMFILES}" _progFiles) - if (MINGW) - set (DIR "kdewin-mingw") - else (MINGW) - set (DIR "kdewin-msvc") - endif (MINGW) - - # search in the default program install folder - find_file(KDEWIN_DIR_tmp ${DIR} kdewin kdewin32 gnuwin32 - PATHS - "${_progFiles}" - ) - set (KDEWIN_DIR ${KDEWIN_DIR_tmp}) - endif (NOT KDEWIN_DIR) - if (KDEWIN_DIR) - message(STATUS "Found windows supplementary package location: ${KDEWIN_DIR}") - endif (KDEWIN_DIR) - endif (NOT KDEWIN_DIR) - - # this must be set every time - if (KDEWIN_DIR) - # add include path and library to all targets, this is required because - # cmake's 2.4.6 FindZLib.cmake does not use CMAKE_REQUIRED... vars - set(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} ${KDEWIN_DIR}/include) - set(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} ${KDEWIN_DIR}/lib) - - set (KDEWIN_FOUND 1) - else(KDEWIN_DIR) - message(STATUS "Could not find the location of the windows supplementary packages which is \n" - "\t\tenvironment variable KDEWIN_DIR\n" - "\t\t/${DIR}\n" - "\t\t/kdewin\n" - "\t\t/kdewin32\n" - "\t\t/gnuwin32\n") - endif(KDEWIN_DIR) - -endif (WIN32) -- cgit