You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
Generate native project correct when build dynamic library on iOS.
Environment
What version of CMake did you run?
Your faulty CMakeLists.txt here:
git clone https://github.com/kcat/openal-soft
cd openal-soft
cmake -B build -GXcode -DCMAKE_TOOLCHAIN_FILE=ios.cmake.toolchain -DPLATFORM=OS64
cmake --buildbuild --target OpenAL
# will error with: ld: library not found for -latomic, because the openal-soft find non-exists library `libatomic` with this toolchain file
The text was updated successfully, but these errors were encountered:
Yes, your solution can solve the this issue, but I don't known why ios-cmake set ENABLE_STRICT_TRY_COMPILE to OFF by default.
For more detail, you can refer to: kcat/openal-soft#466
Describe the bug
Sets ENABLE_STRICT_TRY_COMPILE
OFF
default, will lead cmake generate incorrect native project for dynamic libraries.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Generate native project correct when build dynamic library on iOS.
Environment
The text was updated successfully, but these errors were encountered: