mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 10:40:48 +00:00
Patch from Benjamin Piwowarski <benjamin@bpiwowar.net>
set full path for Doxyfile (in sourcedoc/CMakelists.txt) so that the doxydoc target works also on OS X git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40392 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1f0a5eab8a
commit
0c542b0a92
@ -13,12 +13,12 @@ if(DOXYGEN_EXECUTABLE MATCHES "-NOTFOUND")
|
|||||||
else()
|
else()
|
||||||
set(VERSION ${PACKAGE_VERSION})
|
set(VERSION ${PACKAGE_VERSION})
|
||||||
set(top_srcdir "${TOP_SRC_DIR}")
|
set(top_srcdir "${TOP_SRC_DIR}")
|
||||||
configure_file("${TOP_SRC_DIR}/sourcedoc/Doxyfile.in" Doxyfile @ONLY)
|
configure_file("${TOP_SRC_DIR}/sourcedoc/Doxyfile.in" "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile" @ONLY)
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT doxy_created
|
OUTPUT doxy_created
|
||||||
COMMAND ${DOXYGEN_EXECUTABLE} Doxyfile
|
COMMAND ${DOXYGEN_EXECUTABLE} "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile"
|
||||||
COMMAND ${CMAKE_COMMAND} -E touch doxy_created
|
COMMAND ${CMAKE_COMMAND} -E touch doxy_created
|
||||||
DEPENDS Doxyfile
|
DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile"
|
||||||
)
|
)
|
||||||
add_custom_target(doxydoc DEPENDS doxy_created)
|
add_custom_target(doxydoc DEPENDS doxy_created)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user