mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
[iOS] fix linking QtCore
This commit is contained in:
parent
2f14914120
commit
2de48624bc
@ -128,6 +128,11 @@ enable_pch(vcmilauncher)
|
||||
if(APPLE_IOS)
|
||||
set(ICONS_DESTINATION ${DATA_DIR})
|
||||
|
||||
# TODO: remove after fixing Conan's Qt recipe
|
||||
if(XCODE_VERSION VERSION_GREATER_EQUAL 14.0)
|
||||
target_link_libraries(vcmilauncher "-framework IOKit")
|
||||
endif()
|
||||
|
||||
# workaround https://github.com/conan-io/conan-center-index/issues/13332
|
||||
if(USING_CONAN)
|
||||
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/QIOSIntegrationPlugin.h
|
||||
|
Loading…
Reference in New Issue
Block a user