Commit df75c6c3 authored by Ghislain MARY's avatar Ghislain MARY

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

parent ead41bd8
......@@ -119,15 +119,19 @@ set(VCARD_FILES
vcards/vcards.vcf
)
set(RESOURCES_FILES
set(OTHER_FILES
tester_hosts
messages.db
${SOUND_FILES}
${SIPP_FILES}
${CERTIFICATE_FILES}
${RC_FILES}
${IMAGE_FILES}
${VCARD_FILES}
)
set(IOS_RESOURCES_FILES
${OTHER_FILES}
certificates
images
rcfiles
sipp
sounds
vcards
)
set(SOURCE_FILES_C
......@@ -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
if (NOT ANDROID AND NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
if (IOS)
set_source_files_properties(${RESOURCES_FILES} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
add_executable(liblinphone_tester MACOSX_BUNDLE ${RESOURCES_FILES} ${SOURCE_FILES_C} ${SOURCE_FILES_OBJC})
if(IOS)
set_source_files_properties(${IOS_RESOURCES_FILES} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
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}")
else()
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