Automatically find apple frameworks when building a repo
Instead of doing it just in qtbase/src, we need to do it for all repos before building ./src. Change-Id: I57f226b849cd5370ffbbbea8a694697d400957a4 Reviewed-by: Leander Beernaert <leander.beernaert@qt.io> Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
parent
2e30f1d9b6
commit
bb959af00a
@ -36,6 +36,9 @@ macro(qt_build_repo_begin)
|
||||
|
||||
# Optionally include a repo specific Setup module.
|
||||
include(${PROJECT_NAME}Setup OPTIONAL)
|
||||
|
||||
# Find Apple frameworks if needed.
|
||||
qt_find_apple_system_frameworks()
|
||||
endmacro()
|
||||
|
||||
macro(qt_build_repo_end)
|
||||
|
@ -8,8 +8,6 @@ qt_copy_or_install(DIRECTORY "${PROJECT_SOURCE_DIR}/mkspecs"
|
||||
DESTINATION ${mkspecs_install_dir})
|
||||
# special case end
|
||||
|
||||
qt_find_apple_system_frameworks() # special case
|
||||
|
||||
#####################################################################
|
||||
## qmake Binary:
|
||||
#####################################################################
|
||||
|
@ -1,5 +1,3 @@
|
||||
qt_find_apple_system_frameworks()
|
||||
|
||||
add_subdirectory(3rdparty)
|
||||
|
||||
function(find_or_build_bootstrap_names)
|
||||
|
Loading…
x
Reference in New Issue
Block a user