mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
cmake: find downloaded python
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38077 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
12baf18cfa
commit
ce7fee0333
@ -301,7 +301,7 @@ if(LYX_HUNSPELL)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(LYX_NLS)
|
if(LYX_NLS)
|
||||||
FIND_PROGRAM(LYX_PYTHON_EXECUTABLE python)
|
FIND_PROGRAM(LYX_PYTHON_EXECUTABLE python HINTS ${GNUWIN32_DIR}/python)
|
||||||
if(${LYX_PYTHON_EXECUTABLE} MATCHES "-NOTFOUND")
|
if(${LYX_PYTHON_EXECUTABLE} MATCHES "-NOTFOUND")
|
||||||
message(FATAL_ERROR "Python 2.6 needed!")
|
message(FATAL_ERROR "Python 2.6 needed!")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user