X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=sourcedoc%2FCMakeLists.txt;h=d8ef973e9b687cacffe4f8d5294a82b218e6cdb3;hb=2de511d90c6e3943b258a2400c795dcedf38c352;hp=856ff9a785de2272313c0b1b63f7bf6e9d2cc7f1;hpb=26f255fe303a7ac295dfd57e429487413d0e5f42;p=lyx.git 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