Peter Kümmel wrote:
I've applied this patch:
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt (revision 16341)
+++ CMakeLists.txt (working copy)
@@ -83,6 +83,17 @@
endif(noconsole)
endif(WIN32)
+set(LYX_DIR "${CMAKE_SOURCE_DIR}/../../lib")
Seems correct.
+set(TOP_SRCDIR "${CMAKE_SOURCE_DIR}/../..")
This too.
+set(PROGRAM_SUFFIX "")
not sure... probably this:
+ set(PROGRAM_SUFFIX "${CMAKE_SOURCE_DIR}/bin/debug")
or
+ set(PROGRAM_SUFFIX "${CMAKE_SOURCE_DIR}/bin/release")
But this is probably because I run cmake from CMAKE_SOURCE_DIR.
+set(LOCALEDIR "")
+set(LOCALEDIR "${CMAKE_SOURCE_DIR}/../../lib/po")
+
+message("----- LYX_DIR : ${LYX_DIR}")
+message("----- TOP_SRCDIR : ${TOP_SRCDIR}")
+message("----- PROGRAM_SUFFIX: ${PROGRAM_SUFFIX}")
+message("----- LOCALEDIR : ${LOCALEDIR}")
+
+
message("")
But I don't know the right values, so please fix it.
Additionally cmake needs @VAR@ instead of %VAR% to
get VAR replaced with its value.
Doesn't configure also work with @? Then please commit
attached patch.
I don't know about that, what about Scons?
Abdel.