mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-15 09:15:34 +08:00
Silence warning if doxygen binary is not found
This commit is contained in:
committed by
Mathew Sutcliffe
parent
108336a9cc
commit
eea6c31e7b
@@ -8,12 +8,10 @@ OTHER_FILES += Doxyfile.qmake
|
|||||||
OTHER_FILES += src/*.dox
|
OTHER_FILES += src/*.dox
|
||||||
OTHER_FILES += src/wiki/*.dox
|
OTHER_FILES += src/wiki/*.dox
|
||||||
|
|
||||||
win32: DOXYGEN_BIN = $$system($$(SYSTEMROOT)\system32\where doxygen)
|
win32: DOXYGEN_BIN = $$system($$(SYSTEMROOT)\system32\where doxygen 2> nul)
|
||||||
else: DOXYGEN_BIN = $$system(which doxygen)
|
else: DOXYGEN_BIN = $$system(which doxygen 2> /dev/null)
|
||||||
|
|
||||||
isEmpty(DOXYGEN_BIN) {
|
!isEmpty(DOXYGEN_BIN) {
|
||||||
message("Doxygen not found")
|
|
||||||
} else {
|
|
||||||
DOXYFILE = Doxyfile.qmake
|
DOXYFILE = Doxyfile.qmake
|
||||||
|
|
||||||
DOXY_INPUT = .
|
DOXY_INPUT = .
|
||||||
|
|||||||
Reference in New Issue
Block a user