mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
cmake: more fixes from Kornel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28103 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fbdafecf52
commit
01854608fd
@ -8,6 +8,7 @@ message(STATUS "installing to ${CMAKE_INSTALL_PREFIX}, defined by CMAKE_INSTALL_
|
|||||||
# and installs the files in CMAKE_INSTALL_PREFIX/_current_dir
|
# and installs the files in CMAKE_INSTALL_PREFIX/_current_dir
|
||||||
# dir_item is on item of the remaining arguments
|
# dir_item is on item of the remaining arguments
|
||||||
macro(lyx_install _parent_src_dir _gl_dir _file_type)
|
macro(lyx_install _parent_src_dir _gl_dir _file_type)
|
||||||
|
#message("checking parents ${_parent_src_dir}")
|
||||||
file(GLOB _dirs RELATIVE "${_parent_src_dir}" ${_parent_src_dir}/${_gl_dir})
|
file(GLOB _dirs RELATIVE "${_parent_src_dir}" ${_parent_src_dir}/${_gl_dir})
|
||||||
#cmake bug on Windows: if _gl_dir==. _dirs is empty but on linux _dirs==.
|
#cmake bug on Windows: if _gl_dir==. _dirs is empty but on linux _dirs==.
|
||||||
if(NOT _dirs)
|
if(NOT _dirs)
|
||||||
|
Loading…
Reference in New Issue
Block a user