Commit 97bdfd1f authored by Ghislain MARY's avatar Ghislain MARY

Fix some link flags for build for IOS with CMake.

parent 95ebd053
......@@ -160,7 +160,10 @@ if(NOT MSVC)
endif()
set(LINK_FLAGS )
if(APPLE)
list(APPEND LINK_FLAGS "-framework CoreFoundation" "-framework CFNetwork")
list(APPEND LINK_FLAGS "-framework Foundation")
if(IOS)
list(APPEND LINK_FLAGS "-framework CoreFoundation" "-framework CFNetwork" "-framework UIKit")
endif()
endif()
if(WIN32)
add_definitions(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment