gravatar
ladanyi@tmit.bme.hu
ladanyi@tmit.bme.hu
Fix 'make install' without 'make html' using CMAKE (#207)
0 1 0
default
1 file changed with 5 insertions and 5 deletions:
↑ Collapse diff ↑
Ignore white space 6 line context
... ...
@@ -9,6 +9,7 @@
9 9
  @ONLY)
10 10

	
11 11
IF(DOXYGEN_EXECUTABLE AND GHOSTSCRIPT_EXECUTABLE)
12
  FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/)
12 13
  IF(UNIX)
13 14
    ADD_CUSTOM_TARGET(html
14 15
      COMMAND rm -rf gen-images
... ...
@@ -34,9 +35,8 @@
34 35
      COMMAND ${DOXYGEN_EXECUTABLE} Doxyfile
35 36
      WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
36 37
  ENDIF(UNIX)
38
  INSTALL(
39
    DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/
40
    DESTINATION doc
41
    COMPONENT html_documentation)
37 42
ENDIF(DOXYGEN_EXECUTABLE AND GHOSTSCRIPT_EXECUTABLE)
38

	
39
INSTALL(
40
  DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/
41
  DESTINATION doc
42
  COMPONENT html_documentation)
0 comments (0 inline)