[MacPorts] #47844: cmake_share_module_dir set to wrong value in cmake PortGroup
MacPorts
noreply at macports.org
Tue May 26 04:47:34 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 michaelld@…):
We use "cmake_share_module_dir" to set "CMAKE_MODULE_PATH" in the cmake
1.0 PortGroup, which according to
[http://www.cmake.org/cmake/help/v2.8.12/cmake.html#variable:CMAKE_MODULE_PATH
the CMake docs]:
{{{
CMAKE_MODULE_PATH: List of directories to search for CMake modules.
Commands like include() and find_package() search for files in directories
listed by this variable before checking the default modules that come with
CMake.
}}}
So, this setting is for finding stuff only, not for storing stuff. In my
experience and testing using CMake, this setting works well, even if
${prefix}/share/cmake/Modules is not in the standard search path for CMake
modules.
IIRC, cmake "recently" added in a couple standard paths for the MODULE
path, including this one as well as ${prefix}/lib/cmake/Modules; so, it is
possible this setting is not actually needed.
Overall: I'm not sure what the actual issue is here. I'll have to look at
eigen3 & see what's going on with it. My guess is it's just a simple
setting issue, rather than this variable being incorrect.
--
Ticket URL: <https://trac.macports.org/ticket/47844#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list