Am Dienstag, 17. Mai 2011 schrieb Peter Kümmel:
> On 17.05.2011 01:17, Uwe Stöhr wrote:
...
> > 3. I cannot disable the CMake component "DOC". It is annoying that the
> > compiler always stumbles over this component. I can of course delete it
> > from the solution file, but I fear that this will break something

You can, like it was already in lyx1.6. See attached cmake2.0.diff

> Perl for Windows could be found here: http://www.activestate.com/activeperl
> 
> > When I compile LyX's trunk, CMake doesn't have this DOC component.

Then you have not set LYX_INSTALL there?

> Maybe Kornel knows more.

I don't remember this fatal message as my doing.
BTW, reformatting indentation was bad idea in respect to 'svn blame'.

> Peter
> 
> > Peter, Kornel, can you please help me?
> > thanks and regards Uwe

        Kornel
Index: development/cmake/CMakeLists.txt
===================================================================
--- development/cmake/CMakeLists.txt	(Revision 38740)
+++ development/cmake/CMakeLists.txt	(Arbeitskopie)
@@ -490,10 +490,11 @@
 if(LYX_INSTALL)
 	FIND_PROGRAM(LYX_PERL_EXECUTABLE perl)
 	if(${LYX_PERL_EXECUTABLE} MATCHES "-NOTFOUND")
-		message(FATAL_ERROR "Perl required!")
+		message(STATUS "Perl required to create doc!")
+	else()
+		add_subdirectory(man)
+		add_subdirectory(doc)
 	endif()
-	add_subdirectory(man)
-	add_subdirectory(doc)
 	include(../Install)
 endif()
 

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to