export: package IMPORTED_LOCATION incorrect for iOS
IMPORTED_LOCATION
in Config.cmake is set to ${_IMPORT_PREFIX}/bin/test.app/Contents/MacOS/test
, but on iOS it should be ${_IMPORT_PREFIX}/bin/test.app/test
When making executables with CMAKE_SYSTEM_NAME
= iOS
, CMAKE_MACOSX_BUNDLE
is set to ON
. The means that my executables are built into .app
bundles. However on iOS the bundles are flatter than macOS bundles (see !1447 (merged) where this was implemented).
e.g. flat bundle
../build/testinstall/bin/test.app
├── Info.plist
└── test
Edited by Brad King