Version: (using KDE KDE 3.95.0) Installed from: Compiled From Sources Compiler: It's cmake-files related, not compiler-related OS: Linux FindOpenEXR.cmake looks for IlmBase components in the OpenEXR include/lib directories. So if prefixes of OpenEXR and IlmBase are different, build fails.
Created attachment 21998 [details] My version of FindOpenEXR.cmake I've splitted FindOpenEXR.cmake into two files: FindOpenEXR.cmake and FindIlmBase.cmake.
Created attachment 21999 [details] My version of FindIlmBase.cmake
Actually, build doesn't crash but KDE is failed to find OpenEXR.
Hi! Could you have a look at bug #151844? It is marked as UNCOMFIRMED for more than two months and it is assigned to you for about a month... If you have no time at the moment to check my version of FindOpenEXR.cmake, could you write to me about it? I just want to know that my bug/patch report is not lost forever... Thanks for great product! And excuse me for my English...
Maybe you should add your attachments as "patch" so the bug can be shown on the "show bugs with patches" b.k.o query?
Hi there. Can you confirm if the issue is still valid?
Yes, I can. Steps to reproduce on any distro: 1. Install OpenEXR (not ilmbase) into non-standard prefix (say, /tmp/prefix). 2. `export PKG_CONFIG_PATH=/tmp/prefix/lib/pkgconfig` 3. Try to configure kdelibs.
I've taken a look at both patches. At first glance, you should lowercase your commands. Please look at KDE's CMake Coding Style guide at http://techbase.kde.org/Policies/CMake_Coding_Style Furthermore, whenever a new CMake file is to be added (such as your FindIlmBase.cmake) to kdelibs, it first needs to be reviewed by the buildsystem team. So in order to have this bug fixed and your patches applied, you should adapt them to the code conventions used for CMake files and then send them to the kde-buildsystem mailing list (see http://www.kde.org/mailinglists for instructions on how to subscribe to it). Alexander Neundorf, who's our CMake guru, will be offline for a few more days, but after that I think he can review your patches. Thanks!
It doesn't make sense to change it in kdelibs now. I'll submit this to extra-cmake-modules.