From f81e924143b6d492378f1f3e00eb0bedb05ea263 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20K=C3=BCmmel?= Date: Sun, 3 Sep 2006 13:20:38 +0000 Subject: [PATCH] also work with MSYS git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14878 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/cmake/modules/FindGNUWIN32.cmake | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/development/cmake/modules/FindGNUWIN32.cmake b/development/cmake/modules/FindGNUWIN32.cmake index 7f81048193..4a2c6adc90 100644 --- a/development/cmake/modules/FindGNUWIN32.cmake +++ b/development/cmake/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:/" + "C:/" "D:/" "E:/" "F:/" "G:/" ) + set(GNUWIN32_DIR ${GNUWIN32_DIR_tmp}) endif(NOT GNUWIN32_DIR) endif(NOT GNUWIN32_DIR) -- 2.39.2