mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Make it buildable on linux again. (LYX_DATA_SUBDIR is on non-windows defined as '').
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38483 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
da070e9a7f
commit
d03d3e2461
@ -51,7 +51,11 @@ macro(add_gettext_python _par _dir)
|
||||
COMMENT "${LYX_PYTHON_EXECUTABLE} ${TOP_SRC_DIR}/po/lyx_pot.py -b ${TOP_SRC_DIR} -o ${_dst} -t ${_par1} --src_file=${_src_files}"
|
||||
)
|
||||
ADD_CUSTOM_TARGET(layouttranslations1 DEPENDS "${_dst}")
|
||||
install(FILES "${TOP_SRC_DIR}/lib/layouttranslations" DESTINATION ${LYX_DATA_SUBDIR})
|
||||
if (LYX_DATA_SUBDIR STREQUAL "")
|
||||
install(FILES "${TOP_SRC_DIR}/lib/layouttranslations" DESTINATION .)
|
||||
else()
|
||||
install(FILES "${TOP_SRC_DIR}/lib/layouttranslations" DESTINATION ${LYX_DATA_SUBDIR})
|
||||
endif()
|
||||
else()
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT "${_dst}"
|
||||
|
Loading…
Reference in New Issue
Block a user