config-ios.cmake: fix build of exectuables on iOS so that they can be launched...

config-ios.cmake: fix build of exectuables on iOS so that they can be launched via xcode (when using cmake's Xcode generator)
parent 3ac4d673
......@@ -103,7 +103,7 @@ linphone_builder_add_cmake_option(ms2 "-DENABLE_X11=NO")
linphone_builder_add_cmake_option(ms2 "-DENABLE_XV=NO")
linphone_builder_add_cmake_option(ms2 "-DENABLE_TOOLS=NO")
linphone_builder_add_cmake_option(ms2 "-DENABLE_DOC=NO")
linphone_builder_add_cmake_option(ms2 "-DENABLE_UNIT_TESTS=NO")
linphone_builder_add_cmake_option(ms2 "-DENABLE_UNIT_TESTS=YES")
# opus
linphone_builder_add_cmake_option(opus "-DENABLE_FIXED_POINT=YES")
......
......@@ -105,3 +105,6 @@ set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
#important: the GUI identifier is required so that executables can be launched on iOS devices/simulators
set(MACOSX_BUNDLE_GUI_IDENTIFIER "org.linphone.\${PRODUCT_NAME:identifier}")
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