aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kümmel <syntheticpp@gmx.net>2006-09-03 12:10:38 +0000
committerPeter Kümmel <syntheticpp@gmx.net>2006-09-03 12:10:38 +0000
commit910e0113a6d2558baa5a9818dda6068ad13d2fdb (patch)
tree1e8fa31b3067db64936329544aa5020cc307d09b
parent593c57effe31b717c7545d24ca007a7f1fff6e15 (diff)
downloadextra-cmake-modules-910e0113a6d2558baa5a9818dda6068ad13d2fdb.tar.gz
extra-cmake-modules-910e0113a6d2558baa5a9818dda6068ad13d2fdb.tar.bz2
fix for mingw
svn path=/trunk/KDE/kdelibs/; revision=580388
-rw-r--r--modules/FindGNUWIN32.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/FindGNUWIN32.cmake b/modules/FindGNUWIN32.cmake
index 3260a3af..4a2c6adc 100644
--- a/modules/FindGNUWIN32.cmake
+++ b/modules/FindGNUWIN32.cmake
@@ -8,11 +8,12 @@ if(NOT GNUWIN32_DIR)
if(NOT GNUWIN32_DIR)
# search in the default program install folder
file(TO_CMAKE_PATH "$ENV{PROGRAMFILES}" _progFiles)
- find_file(GNUWIN32_DIR gnuwin32 win32libs
+ find_file(GNUWIN32_DIR_tmp gnuwin32 win32libs
PATHS
"${_progFiles}"
"C:/" "D:/" "E:/" "F:/" "G:/"
)
+ set(GNUWIN32_DIR ${GNUWIN32_DIR_tmp})
endif(NOT GNUWIN32_DIR)
endif(NOT GNUWIN32_DIR)