Hi all,
Please teach me. What is going on... My cmake process ends with: Configuring incomplete, errors occurred! That's understandable because it start with: CMake Error at CMakeLists.txt:28 (cmake_policy): Policy "CMP0017" is not known to this version of CMake. as a remedy I comment out line 27 to 29 # if(POLICY CMP0011) # cmake_policy(SET CMP0017 NEW) # endif(POLICY CMP0011) Now cmake runs fine But consequently make fails because it looks at wrong places So, upgrade to cmake 2.8.4 which understands the Policy "CMP0017" but that makes everything only worse Regards, Rinus _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
I needed to update my cmake to a newer (latest) version to have cmake
CMP0017 policy support. I will upload a update to my PPA soon which is just a backport from Ubuntu oneiric. /Philip On Sun, Sep 11, 2011 at 4:03 PM, Rinus Bakker <[hidden email]> wrote: > Hi all, > > Please teach me. What is going on... > > > My cmake process ends with: > Configuring incomplete, errors occurred! > > That's understandable because it start with: > CMake Error at CMakeLists.txt:28 (cmake_policy): > Policy "CMP0017" is not known to this version of CMake. > > as a remedy I comment out line 27 to 29 > # if(POLICY CMP0011) > # cmake_policy(SET CMP0017 NEW) > # endif(POLICY CMP0011) > > Now cmake runs fine > > But consequently make fails because it looks at wrong places > > So, upgrade to cmake 2.8.4 which understands the Policy "CMP0017" > > but that makes everything only worse > > Regards, > Rinus > > > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users > > Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Rinus Bakker
On Sunday 11 September 2011 16:03:04 Rinus Bakker wrote:
> Hi all, > > Please teach me. What is going on... > > > My cmake process ends with: > Configuring incomplete, errors occurred! > > That's understandable because it start with: > CMake Error at CMakeLists.txt:28 (cmake_policy): > Policy "CMP0017" is not known to this version of CMake. > > as a remedy I comment out line 27 to 29 > # if(POLICY CMP0011) > # cmake_policy(SET CMP0017 NEW) > # endif(POLICY CMP0011) I had the same problem, solved it by changing the CMP0017 into CMP0011 Reasoning: putting a conditional testing for one policy around a command using a different one doesn't make sense (at first glance) => looks like a typo in the command. After that change, cmake and make ran w/o errors _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Thanks Remco,
It is hard to see how your method differs from commenting it out but it worked! Best regards, Rinus 2011/9/11 Remco Viëtor <[hidden email]>
_______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Philip Johnsson
Great Philip!
I build 2.8.4 myself, but it does not work as expected. best regards, Rinus 2011/9/11 Philip Johnsson <[hidden email]> I needed to update my cmake to a newer (latest) version to have cmake _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Free forum by Nabble | Edit this page |