]> git.lyx.org Git - lyx.git/commitdiff
Sorry, no need to have variables in cache before using congure_file()
authorKornel Benko <kornel@lyx.org>
Mon, 16 May 2011 11:54:54 +0000 (11:54 +0000)
committerKornel Benko <kornel@lyx.org>
Mon, 16 May 2011 11:54:54 +0000 (11:54 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38777 a592a061-630c-0410-9148-cb99ea01b6c8

sourcedoc/CMakeLists.txt

index 856ff9a785de2272313c0b1b63f7bf6e9d2cc7f1..d8ef973e9b687cacffe4f8d5294a82b218e6cdb3 100644 (file)
@@ -11,8 +11,8 @@ find_program(DOXYGEN_EXECUTABLE doxygen)
 if(DOXYGEN_EXECUTABLE MATCHES "-NOTFOUND")
   message(STATUS "doxygen not found, ==> no doxygen creation")
 else()
-  set(VERSION ${PACKAGE_VERSION} CACHE TYPE STRING FORCE)
-  set(top_srcdir "${TOP_SRC_DIR}" CACHE TYPE STRING FORCE)
+  set(VERSION ${PACKAGE_VERSION})
+  set(top_srcdir "${TOP_SRC_DIR}")
   configure_file("${TOP_SRC_DIR}/sourcedoc/Doxyfile.in" Doxyfile @ONLY)
   add_custom_command(
     OUTPUT doxy_created