forked from qt-creator/qt-creator
CMake build/macOS: Centrally detect system libraries
And realize that at most places (except native help viewer) the code using them is not optional on macOS. Change-Id: I308406a0e8f176dad4151d23a33cd3fc0fb8635c Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -29,10 +29,8 @@ add_qtc_plugin(Help
|
||||
xbelsupport.cpp xbelsupport.h
|
||||
)
|
||||
|
||||
find_library(FWWebKit WebKit)
|
||||
find_library(FWAppKit AppKit)
|
||||
extend_qtc_plugin(Help
|
||||
CONDITION APPLE AND FWWebKit AND FWAppKit
|
||||
CONDITION FWWebKit AND FWAppKit
|
||||
DEPENDS ${FWWebKit} ${FWAppKit}
|
||||
DEFINES QTC_MAC_NATIVE_HELPVIEWER
|
||||
SOURCES
|
||||
|
||||
Reference in New Issue
Block a user