🚑🐛 Don't install doc/freecad.qch with no GUI

This commit is contained in:
Sviatoslav Sydorenko
2018-08-09 21:29:25 +02:00
committed by wmayer
parent 5ad9eaa81c
commit 9eb9fe1e0b

View File

@@ -19,11 +19,14 @@ if(BUILD_GUI)
endforeach()
configure_file(freecad.qhc ${CMAKE_BINARY_DIR}/doc/freecad.qhc COPYONLY)
INSTALL(FILES
${CMAKE_BINARY_DIR}/doc/freecad.qch
DESTINATION ${CMAKE_INSTALL_DOCDIR}
)
endif(BUILD_GUI)
INSTALL(FILES
freecad.qhc
${CMAKE_BINARY_DIR}/doc/freecad.qch
ThirdPartyLibraries.html
DESTINATION ${CMAKE_INSTALL_DOCDIR}
)