From 700906bdeb7042b1584800877b5d6bc3ba702027 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Mon, 5 Jun 2006 16:47:04 +0000 Subject: remove MacroGetenvWinPath.cmake, this is not required anymore since cmake 2.4.1 Alex svn path=/trunk/KDE/kdelibs/; revision=548477 --- modules/FindGNUWIN32.cmake | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'modules/FindGNUWIN32.cmake') 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:/" ) -- cgit v1.2.1