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:
@@ -26,9 +26,7 @@ add_qtc_plugin(Ios
|
||||
simulatoroperationdialog.cpp simulatoroperationdialog.h simulatoroperationdialog.ui
|
||||
)
|
||||
|
||||
find_library(FWCoreFoundation CoreFoundation)
|
||||
find_library(FWIOKit IOKit)
|
||||
extend_qtc_plugin(Ios
|
||||
CONDITION APPLE AND FWCoreFoundation AND FWIOKit
|
||||
CONDITION APPLE
|
||||
DEPENDS ${FWCoreFoundation} ${FWIOKit}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user