diff options
| author | Alexander Neundorf <neundorf@kde.org> | 2006-06-05 16:47:04 +0000 |
|---|---|---|
| committer | Alexander Neundorf <neundorf@kde.org> | 2006-06-05 16:47:04 +0000 |
| commit | 700906bdeb7042b1584800877b5d6bc3ba702027 (patch) | |
| tree | a2bfcb45e715e04ece5cd7498b28ff4069590828 /modules/FindGNUWIN32.cmake | |
| parent | dbec5648b3f07bb32d5ded4915ce153a89225ae5 (diff) | |
| download | extra-cmake-modules-700906bdeb7042b1584800877b5d6bc3ba702027.tar.gz extra-cmake-modules-700906bdeb7042b1584800877b5d6bc3ba702027.tar.bz2 | |
remove MacroGetenvWinPath.cmake, this is not required anymore since cmake 2.4.1
Alex
svn path=/trunk/KDE/kdelibs/; revision=548477
Diffstat (limited to 'modules/FindGNUWIN32.cmake')
| -rw-r--r-- | modules/FindGNUWIN32.cmake | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/FindGNUWIN32.cmake b/modules/FindGNUWIN32.cmake index 622fd3cf..8b1b15a6 100644 --- a/modules/FindGNUWIN32.cmake +++ b/modules/FindGNUWIN32.cmake @@ -1,10 +1,8 @@ if (WIN32) -INCLUDE(MacroGetenvWinPath) +file(TO_CMAKE_PATH "$ENV{PROGRAMFILES}" _progFiles) -MACRO_GETENV_WIN_PATH(_progFiles PROGRAMFILES) - -FIND_FILE(GNUWIN32_DIR gnuwin32 +find_file(GNUWIN32_DIR gnuwin32 ${_progFiles} "C:/" ) |
