Commit df75c6c3 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

IOS build was probably broken by my last commit, fix things here.

parent ead41bd8
...@@ -119,15 +119,19 @@ set(VCARD_FILES ...@@ -119,15 +119,19 @@ set(VCARD_FILES
vcards/vcards.vcf vcards/vcards.vcf
) )
set(RESOURCES_FILES set(OTHER_FILES
tester_hosts tester_hosts
messages.db messages.db
${SOUND_FILES} )
${SIPP_FILES}
${CERTIFICATE_FILES} set(IOS_RESOURCES_FILES
${RC_FILES} ${OTHER_FILES}
${IMAGE_FILES} certificates
${VCARD_FILES} images
rcfiles
sipp
sounds
vcards
) )
set(SOURCE_FILES_C set(SOURCE_FILES_C
...@@ -244,9 +248,9 @@ endif() ...@@ -244,9 +248,9 @@ endif()
# on iOS though, we also build the exectuable so that one can compile it from Xcode and run it directly # on iOS though, we also build the exectuable so that one can compile it from Xcode and run it directly
if (NOT ANDROID AND NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsStore") if (NOT ANDROID AND NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
if (IOS) if(IOS)
set_source_files_properties(${RESOURCES_FILES} PROPERTIES MACOSX_PACKAGE_LOCATION Resources) set_source_files_properties(${IOS_RESOURCES_FILES} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
add_executable(liblinphone_tester MACOSX_BUNDLE ${RESOURCES_FILES} ${SOURCE_FILES_C} ${SOURCE_FILES_OBJC}) add_executable(liblinphone_tester MACOSX_BUNDLE ${IOS_RESOURCES_FILES} ${SOURCE_FILES_C} ${SOURCE_FILES_OBJC})
set_target_properties(liblinphone_tester PROPERTIES LINK_FLAGS "${LINPHONE_LDFLAGS}") set_target_properties(liblinphone_tester PROPERTIES LINK_FLAGS "${LINPHONE_LDFLAGS}")
else() else()
add_executable(liblinphone_tester ${SOURCE_FILES_C} ${SOURCE_FILES_OBJC}) add_executable(liblinphone_tester ${SOURCE_FILES_C} ${SOURCE_FILES_OBJC})
......
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