[MacPorts] #47844: cmake_share_module_dir set to wrong value in cmake PortGroup
MacPorts
noreply at macports.org
Tue May 26 09:15:32 PDT 2015
#47844: cmake_share_module_dir set to wrong value in cmake PortGroup
----------------------+--------------------------------
Reporter: mmoll@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: cmake |
----------------------+--------------------------------
Comment (by mmoll@…):
The issue I ran into was that I used Eigen3 in my own code. I saw that
Eigen3 includes ${prefix}/share/cmake/Modules/FindEigen3.cmake. I'd expect
that "find_package(Eigen3)" in the CMakeLists.txt of my code would "just
work". It doesn't without specifying CMAKE_MODULE_PATH. My preferred
solution would be to change the cmake port so that the version number is
not part of the module path.
--
Ticket URL: <https://trac.macports.org/ticket/47844#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list