-------- Original-Nachricht -------- > Datum: Mon, 12 Jul 2010 17:43:28 +0200 > Von: Kornel Benko <kor...@lyx.org> > An: lyx-devel@lists.lyx.org > Betreff: Re: r34860 - in lyx-devel/branches/BRANCH_1_6_X/development/cmake: . > doc lyx2lyx man po src
> Am Montag 12 Juli 2010 schrieb Peter Kümmel: > ... > > Yes, but when using the command line typing 0 or 1 is simpler. > > Not nice, but ok ... We simply add both comments. > > > > And why do we need e.g. LYX_PYTHON_EXECUTABLE? This looks as if python > > > (or perl) would belong to lyx. (For found libraries we don't have this > > > too) > > > > > > Kornel > > > > The idea was to cleanup the variable list in cmake-gui. Too be more precise I wanna remove the "Ungrouped Entries" group. > > But this two are not yet found in the gui ... > > Instead there are: > GETTEXT_*_EXECUTABLE (MSGFMT, MSGMERGE, MSGUNIQ,XGETTEXT) > _PYTHON_EXECUTABE Have you removed the cache/cleaned the build dir before running cmake again? > PYTHON_EXECUTABLE > _PERL_EXECUTABLE > QT_*_EXECUTABLE (MOC, QMAKE, RCC, UIC3, UIC) > With attached patch there are no ungrouped entries any more an Linux. Peter -- GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl. Bis zu 150 EUR Startguthaben inklusive! http://portal.gmx.net/de/go/dsl
Index: PyCompile.cmake =================================================================== --- PyCompile.cmake (Revision 34881) +++ PyCompile.cmake (Arbeitskopie) @@ -9,14 +9,14 @@ # #include(../PyCompile) project(${_project}) -include(FindPythonInterp) +FIND_PROGRAM(LYX_PYTHON_EXECUTABLE python) file(GLOB _py_files ${TOP_SRC_DIR}/lib/${_project}/*.py) set(py_compile ${TOP_SRC_DIR}/config/py-compile) set(_generated) -set(ENV{PYTHON} ${PYTHON_EXECUTABLE}) +set(ENV{PYTHON} ${LYX_PYTHON_EXECUTABLE}) foreach(_orig_py ${_py_files}) get_filename_component(_base_we_py ${_orig_py} NAME_WE) Index: modules/FindLibintl.cmake =================================================================== --- modules/FindLibintl.cmake (Revision 34881) +++ modules/FindLibintl.cmake (Arbeitskopie) @@ -40,7 +40,6 @@ endif(LIBINTL_INCLUDE_DIR) -#include(FindPackageHandleStandardArgs) -#find_package_handle_standard_args(Libintl DEFAULT_MSG LIBINTL_INCLUDE_DIR LIBINTL_LIB_FOUND) +set(LIBINTL_LIBRARIES ${LIBINTL_LIBRARIES} CACHE STRING "linintl libs" FORCE) mark_as_advanced(LIBINTL_INCLUDE_DIR LIBINTL_LIBRARIES LIBINTL_LIBC_HAS_DGETTEXT LIBINTL_LIB_FOUND)