From: Orion P. <or...@co...> - 2015-04-24 16:12:41
|
It appears that due to the way the plplot cmake config file is currently constructed, in order to do a: find_package(plplot) You must have *every* built component installed or you get errors like: CMake Error at /usr/lib64/cmake/plplot/export_plplot.cmake:163 (message): The imported target "plplot_octave" references the file "/usr/lib64/octave/site/oct/x86_64-redhat-linux-gnu/plplot_octave.oct" but this file does not exist. Possible reasons include: And similar for: "/usr/lib64/libplplotada.so.2.0.0" "/usr/lib64/lua/5.3/plplot/plplotluac.so" "/usr/lib64/python2.7/site-packages/plplot_pyqt4.so" "/usr/lib64/libplf95demolib.a" For Fedora packaging we like to be able to split up packages based on dependencies so that people don't have to install components and dependencies that they don't need. I understand that the find_package config interface can take a COMPONENTS argument. I don't know anything about how that is implemented, but perhaps that could be used to allow this? Thanks. -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane or...@nw... Boulder, CO 80301 http://www.nwra.com |