I’m building frameworks for iOS/tvOS with bitcode at the command-line. In order to compile and link I need to add two things:
target_compile_options( library PUBLIC -fembed-bitcode ) target_link_libraries( library PUBLIC -fembed-bitcode ) This works, but yields the complaint that: ld: warning: -headerpad_max_install_names is ignored when used with -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) Is there a cleaner way to do this, or do I need to hammer header pad_max_install_names in CMAKE_CXX_LINK_FLAGS?
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake
