From ee419218beaf0e3ab8ce38b2bc491e2c013ffd4f Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Mon, 16 May 2011 11:54:54 +0000 Subject: [PATCH] Sorry, no need to have variables in cache before using congure_file() git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38777 a592a061-630c-0410-9148-cb99ea01b6c8 --- sourcedoc/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sourcedoc/CMakeLists.txt b/sourcedoc/CMakeLists.txt index 856ff9a785..d8ef973e9b 100644 --- a/sourcedoc/CMakeLists.txt +++ b/sourcedoc/CMakeLists.txt @@ -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