aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Pakulat <apaku@gmx.de>2007-12-22 23:30:06 +0000
committerAndreas Pakulat <apaku@gmx.de>2007-12-22 23:30:06 +0000
commitbd907b8e2cb7157986c9be4a8ff44792283869f5 (patch)
tree76bd550967816eba34dc7d8c1b08c7aa75575eff
parent9b53104d3fe4dfdd7506ffd49e6195a65d514ba5 (diff)
downloadextra-cmake-modules-bd907b8e2cb7157986c9be4a8ff44792283869f5.tar.gz
extra-cmake-modules-bd907b8e2cb7157986c9be4a8ff44792283869f5.tar.bz2
Don't require FindKDEWIN to succeed, its just a convenience thing to not have to set CMAKE_INCLUDE_PATH and CMAKE_LIB_PATH when installing gnuwin32 libs into a "known" place (like C:\Program Files\win32libs). But that breaks things like emerge which already set the two variables and thus don't set KDEWIN_DIR and don't need to set it.
If the convenience thing isn't needed FindKDEWIN.cmake can be removed completely CCMAIL:kde-windows@kde.org svn path=/trunk/KDE/kdelibs/; revision=751844
-rw-r--r--modules/FindKDEWIN32.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/FindKDEWIN32.cmake b/modules/FindKDEWIN32.cmake
index 7e9c36a5..aa62f649 100644
--- a/modules/FindKDEWIN32.cmake
+++ b/modules/FindKDEWIN32.cmake
@@ -18,7 +18,7 @@ if (WIN32)
if (NOT KDEWIN32_DIR)
if(NOT KDEWIN_FOUND)
- find_package(KDEWIN REQUIRED)
+ find_package(KDEWIN)
endif(NOT KDEWIN_FOUND)
find_path(KDEWIN32_INCLUDE_DIR winposix_export.h