mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +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/wiki/*.dox
|
||||
|
||||
win32: DOXYGEN_BIN = $$system($$(SYSTEMROOT)\system32\where doxygen)
|
||||
else: DOXYGEN_BIN = $$system(which doxygen)
|
||||
win32: DOXYGEN_BIN = $$system($$(SYSTEMROOT)\system32\where doxygen 2> nul)
|
||||
else: DOXYGEN_BIN = $$system(which doxygen 2> /dev/null)
|
||||
|
||||
isEmpty(DOXYGEN_BIN) {
|
||||
message("Doxygen not found")
|
||||
} else {
|
||||
!isEmpty(DOXYGEN_BIN) {
|
||||
DOXYFILE = Doxyfile.qmake
|
||||
|
||||
DOXY_INPUT = .
|
||||
|
||||
Reference in New Issue
Block a user