Ticket #599 (closed task: fixed)
Opened 3 years ago
Last modified 9 months ago
cmake - detection routines need changing for Haiku
| Reported by: | cian | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | dev-util/cmake | Version: | |
| Severity: | minor | Keywords: | |
| Cc: |
Description
cmake has a lot of library detection routines which do not correctly look for where the libraries will be installed on a Haiku system.
This makes it impossible to provide a clean .bep for some applications which have cmake build systems.
A few of these are patched but we should probably check every single one of the FindXXX modules.
Change History
comment:1 Changed 3 years ago by augiedoggie
comment:2 Changed 3 years ago by scottmc
- Owner scottmc deleted
comment:3 Changed 3 years ago by scottmc
Some of this work has been done, but there's probably more left to do. The results so far can be seen in the cmake-2.8-git patch.
comment:4 Changed 2 years ago by cian
Freetype needs to be adjusted still, I'll take a look if I get a chance later. CorsixTH (Theme Hospital clone that I've got a .bep for) looks for Freetype via cmake.
comment:5 Changed 2 years ago by cian
Actually, that was easier to patch than I thought, committed in r2259
comment:6 Changed 9 months ago by pulkomandy
- Resolution set to fixed
- Status changed from new to closed
Most frequent issues (SDL, freetype) now fixed. Please open separate tickets for each Find* module you have problems with.

If I remember correctly, most of them have variables that can be set to hint at the proper location. These can be set from within the build system of the app/library. I'm hesitant to fix all of them directly in cmake if our filesystem layout is going to change due to package management. If someone wants to submit a patch for that it's fine though.