Skip to content
Snippets Groups Projects
Commit 6472dfa6 authored by Markus Blatt's avatar Markus Blatt
Browse files

[Merge][CMake] Merged revisions : 6965

Revision  r6965
.----------------------
We need to use the full path for the installation.

.----------------------


[[Imported from SVN: r7306]]
parents 863006a2 735a2cdc
Branches
Tags
No related merge requests found
......@@ -71,14 +71,14 @@ MACRO (add_doxygen_target)
${install_doxygen_command}
COMMENT "Installing doxygen documentation"
DEPENDS doxygen_${DUNE_MOD_NAME})
include(GNUInstallDirs)
# When installing call cmake install with the above install target
install(CODE
"include(GNUInstallDirs)
foreach(_file ${doxygenfiles})
"foreach(_file ${doxygenfiles})
get_filename_component(_basename \${_file} NAME)
LIST(APPEND CMAKE_INSTALL_MANIFEST_FILES \${CMAKE_INSTALL_DOCDIR}/doxygen/\${_basename})
LIST(APPEND CMAKE_INSTALL_MANIFEST_FILES ${CMAKE_INSTALL_FULL_DOCDIR}/doxygen/\${_basename})
endforeach(_file in \${doxygenfiles})
file(INSTALL ${doxygenfiles} DESTINATION \${CMAKE_INSTALL_DOCDIR}/doxygen)")
file(INSTALL ${doxygenfiles} DESTINATION ${CMAKE_INSTALL_FULL_DOCDIR}/doxygen)
message(STATUS \"Installed doxyen into ${CMAKE_INSTALL_FULL_DOCDIR}/doxygen\")")
endif(DOXYGEN_FOUND)
ENDMACRO (add_doxygen_target)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment