On Monday 08 of December 2014, Stephen Kelly wrote: > Arkadiusz Miśkiewicz wrote: > > >> Removing CMAKE_INSTALL_LIBDIR from your command line might also cause > >> the correct files to be generated (why are you setting that?). > > > > To ensure correct libdir gets used/set the one defined in rpm (package > > manager), not some kde/cmake one. Also user that uses rpm to build the > > package is allowed to redefine it like rpm --define '_libdir /blagblah', > > rpm passes that to cmake at cmdline. > > Is there something equivalent for include dirs?
Yes, there is but it's not currently passed to cmake. libdir was passed because of lib vs lib64 issue and problems related to it in the past. I could set includedir too but probably there is some other xxxdir that I'm not overriding and the whole problem will appear again, right? (unless there is some way to ensure that all required dirs were set at cmdline time). > >> You might want > >> to discuss some of this stuff on the kde mailing list because apparently > >> those paths and variables are quite a mess. > > > > I'm more interested in corectness from cmake point of view than from kde > > point of view. > > I hope that answers some of your questions. Yes it does. Thanks. > Thanks, > > Steve. -- Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org ) -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
