From: Peter Kümmel Date: Sun, 3 Sep 2006 08:48:58 +0000 (+0000) Subject: add -DGNUWI32_DIR=my/path/to/gnuwin32 option X-Git-Tag: 1.6.10~12663 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=7dc7f5b335203a86254a616f04be54adf469cf84;p=features.git add -DGNUWI32_DIR=my/path/to/gnuwin32 option git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14872 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/development/cmake/modules/FindGNUWIN32.cmake b/development/cmake/modules/FindGNUWIN32.cmake index 3fe83dbcd1..9a6fa1440d 100644 --- a/development/cmake/modules/FindGNUWIN32.cmake +++ b/development/cmake/modules/FindGNUWIN32.cmake @@ -1,6 +1,8 @@ if (WIN32) -file(TO_CMAKE_PATH "$ENV{PROGRAMFILES}" _progFiles) +if(NOT GNUWIN32_DIR) + file(TO_CMAKE_PATH "$ENV{PROGRAMFILES}" _progFiles) +endif(NOT GNUWIN32_DIR) find_file(GNUWIN32_DIR gnuwin32 win32libs PATHS