File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1346,8 +1346,8 @@ if (WIN32)
13461346 install (TARGETS midiplayer DESTINATION ${GAMEDIR} )
13471347endif ()
13481348
1349- if (ENABLE_DOC AND DOXYGEN_FOUND)
13501349 install (FILES doc /stratagus.6 DESTINATION ${MANDIR} )
1350+ if (ENABLE_DOC)
13511351 install (FILES
13521352 doc /development.html
13531353 doc /faq.html
@@ -1360,8 +1360,11 @@ if(ENABLE_DOC AND DOXYGEN_FOUND)
13601360 doc /README-SDL.txt
13611361 DESTINATION share/doc /stratagus
13621362 )
1363- install (DIRECTORY doc /graphics doc /scripts ${CMAKE_CURRENT_BINARY_DIR} /doxygen DESTINATION ${DOCDIR} )
1364- endif (ENABLE_DOC AND DOXYGEN_FOUND)
1363+ install (DIRECTORY doc /graphics doc /scripts DESTINATION ${DOCDIR} )
1364+ if (DOXYGEN_FOUND)
1365+ install (DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} /doxygen DESTINATION ${DOCDIR} )
1366+ endif ()
1367+ endif ()
13651368
13661369if (ENABLE_DEV)
13671370 install (FILES ${gameheaders_HDRS} DESTINATION ${STRATAGUS_HEADERS} )
You can’t perform that action at this time.
0 commit comments