From fbdafecf52c75c978d623fa9db3c49907d231fdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20K=C3=BCmmel?= Date: Sun, 11 Jan 2009 20:52:14 +0000 Subject: [PATCH] cmake: more fixes from Kornel git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28102 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/cmake/Install.cmake | 3 +++ development/cmake/lyx2lyx/CMakeLists.txt | 3 +++ 2 files changed, 6 insertions(+) diff --git a/development/cmake/Install.cmake b/development/cmake/Install.cmake index 49f179cc44..61c6213d54 100755 --- a/development/cmake/Install.cmake +++ b/development/cmake/Install.cmake @@ -19,6 +19,9 @@ macro(lyx_install _parent_src_dir _gl_dir _file_type) if(NOT _dir_list) set(_dir_list ${_parent_src_dir}/${_dir}) endif() + if(_glob_dir STREQUAL ".") + set(_dir_list ${_parent_src_dir}/${_dir}/.) + endif() #message(STATUS "${_dir}/${_glob_dir} -> ${_dir_list} ") foreach(_current_dir ${_dir_list}) file(GLOB _item_list ${_current_dir}/${_file_type}) diff --git a/development/cmake/lyx2lyx/CMakeLists.txt b/development/cmake/lyx2lyx/CMakeLists.txt index 779dfec548..15005a0456 100644 --- a/development/cmake/lyx2lyx/CMakeLists.txt +++ b/development/cmake/lyx2lyx/CMakeLists.txt @@ -7,6 +7,9 @@ project(lyx2lyx) +set(_project "scripts") +#include(../PyCompile) + include(FindPythonInterp) file(GLOB _lyx2lyx_py_files ${TOP_SRC_DIR}/lib/lyx2lyx/*.py)