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
This commit is contained in:
Peter Kümmel 2006-09-03 08:48:58 +00:00
parent e33bac93cd
commit 7dc7f5b335

View File

@ -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