mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
cmake: work-around for cmake bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17720 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b7ff6f82de
commit
3ed7a430d5
@ -23,14 +23,21 @@ add_definitions(
|
|||||||
-DDEPENDS_ON_LIBICONV=1
|
-DDEPENDS_ON_LIBICONV=1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (NOT APPLE)
|
||||||
add_definitions(
|
add_definitions(
|
||||||
-DLOCALEDIR=\\"${LOACLE_DIR}\\"
|
-DLOCALEDIR=\\"${LOACLE_DIR}\\"
|
||||||
-DLOCALE_ALIAS_PATH=\\"${LOACLE_DIR}\\"
|
-DLOCALE_ALIAS_PATH=\\"${LOACLE_DIR}\\"
|
||||||
-DLIBDIR=\\"${TOP_SRC_DIR}\\"
|
-DLIBDIR=\\"${TOP_SRC_DIR}\\"
|
||||||
-DINSTALLDIR=\\"${PREFIX}\\"
|
-DINSTALLDIR=\\"${PREFIX}\\"
|
||||||
)
|
)
|
||||||
|
else (NOT APPLE)
|
||||||
|
add_definitions(
|
||||||
|
-DLOCALEDIR='\"${LOCALE_DIR}\"'
|
||||||
|
-DLOCALE_ALIAS_PATH='\"${LOCALE_DIR}\"'
|
||||||
|
-DLIBDIR='\"${TOP_SRC_DIR}\"'
|
||||||
|
-DINSTALLDIR='\"${PREFIX}\"'
|
||||||
|
)
|
||||||
|
endif (NOT APPLE)
|
||||||
|
|
||||||
file(GLOB intl_headers ${TOP_SRC_DIR}/intl/*.h)
|
file(GLOB intl_headers ${TOP_SRC_DIR}/intl/*.h)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user