| Summary: | Install with cmake creates links to wrong files on OSX | ||
|---|---|---|---|
| Product: | SDL | Reporter: | rhiakath.flanders |
| Component: | build | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | amaranth72, rhiakath.flanders |
| Version: | 2.0.4 | ||
| Hardware: | x86 | ||
| OS: | Other | ||
| Attachments: | patch file to be applied to CMakeLists.txt to fix the issue | ||
The patched lines have had changes since 2.0.4's release. Can you verify that the problem still exists in the latest code from Mercurial, and make a new patch if so? Yes, it seems that the mercurial version works ok. Now I just have to see why it insists it needs X's header files on OSX, but that's another issue... Fixed in Mercurial, thanks! |
Created attachment 2553 [details] patch file to be applied to CMakeLists.txt to fix the issue while building on OSX with CMAKE, the install step creates symlink from libSDL2-2.0.so to libSDL2.so, even though the former does not exist. The culprit is here: install(CODE " execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"libSDL2-2.0.so\" \"libSDL2.so\")")