I am having some difficulties adding facebookSDK.framework into my xcode project using cmake? Here's what i have done up to now. But it doesn't seem to work
set (facebook_sdk_path ${CMAKE_HOME_DIRECTORY}/external/framework/facebook/ios)
message("adding facebookSDK" ${facebook_sdk_path})
target_link_libraries(${Target} "${facebook_sdk_path}/facebookSDK.framework/facebookSDK")
I believe we need to set the framework under "framework search paths" on the project settings, but I am not exactly too sure on how to do this.