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
This commit is contained in:
Kornel Benko 2011-05-16 11:54:54 +00:00
parent 26f255fe30
commit ee419218be

View 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