mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +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,15 +23,22 @@ add_definitions(
|
||||
-DDEPENDS_ON_LIBICONV=1
|
||||
)
|
||||
|
||||
|
||||
if (NOT APPLE)
|
||||
add_definitions(
|
||||
-DLOCALEDIR=\\"${LOACLE_DIR}\\"
|
||||
-DLOCALE_ALIAS_PATH=\\"${LOACLE_DIR}\\"
|
||||
-DLIBDIR=\\"${TOP_SRC_DIR}\\"
|
||||
-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)
|
||||
|
||||
set(intl_sources
|
||||
|
Loading…
Reference in New Issue
Block a user