086ad7bc9a
The minimal sample doesn't have an implicit deployment target set, while the library does through CMakeLists.txt in root. This can result in iOS link errors when not explicitly setting CMAKE_OSX_DEPLOYMENT_TARGET as the sample will then use a target OS with an architecture that may not be present in the library with its current target OS version. Fix by copying the part setting CMAKE_OSX_DEPLOYMENT_TARGET in the library to the minimal sample as well. Both parts should be kept in sync but that still seemed preferable to additionally polluting an example file for CMake usage with a dependency by introducing a common include file. |
||
---|---|---|
.. | ||
minimal_cocoa.xcodeproj | ||
minimal_iphone.xcodeproj | ||
CMakeLists.txt | ||
descrip.mms | ||
Info_cocoa.plist | ||
Info_iphone.plist | ||
makefile.gcc | ||
Makefile.in | ||
makefile.unx | ||
makefile.vc | ||
minimal_vc7.vcproj | ||
minimal_vc8.vcproj | ||
minimal_vc9.vcproj | ||
minimal_vc10.sln | ||
minimal_vc11.sln | ||
minimal_vc12.sln | ||
minimal_vc14.sln | ||
minimal_vc15.sln | ||
minimal.bkl | ||
minimal.cpp | ||
minimal.plc | ||
minimal.vcxproj | ||
minimal.vcxproj.filters | ||
sample.icns |