Enrico Forestieri wrote:
set(LYX_DIR "${CMAKE_SOURCE_DIR}/../../lib")
set(TOP_SRCDIR "${CMAKE_SOURCE_DIR}/../..")
-set(PROGRAM_SUFFIX "${CMAKE_SOURCE_DIR}/bin")
+set(PROGRAM_SUFFIX "")
set(LOCALEDIR "${CMAKE_SOURCE_DIR}/../../lib/po")
Abdel, both LYX_DIR and LOCALEDIR should be set to the installation
directories.
There is no such thing as installation directory in CMake (as of now) so
we have no choice but to last resort on the source directory.
However, I think that they are last resort locations and,
if properly installed, LyX should be able to find the needed dirs.
They are useful if you move the binary around.
But then, what does the in build-tree binary use for these dirs?
Abdel.