🚑🐛 Don't install doc/freecad.qch with no GUI
This commit is contained in:
committed by
wmayer
parent
5ad9eaa81c
commit
9eb9fe1e0b
@@ -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}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user