Opened 12 years ago
Closed 12 years ago
#38831 closed defect (fixed)
qca installs /opt/local/share/cmake/modules/FindQCA2.cmake
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | ||
Port: | qca |
Description
qca installs /opt/local/share/cmake/modules/FindQCA2.cmake but the directory name should be "Modules" not "modules".
Change History (3)
comment:1 Changed 12 years ago by michaelld (Michael Dickens)
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
According to the documentation:
First CMake checks all directories in ${CMAKE_MODULE_PATH}, then it looks in its own module directory <CMAKE_ROOT>/share/cmake-x.y/Modules/.
Based on this, I think ${prefix}/share/cmake-${cmake_version}/Modules intended for cmake itself to use, and other ports should not install files there.
comment:3 Changed 12 years ago by michaelld (Michael Dickens)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed for phonon; and qca in r105453.
Note: See
TracTickets for help on using
tickets.
Looks like "phonon" does the same thing. Should I actually use ${prefix}/share/cmake-${cmake_version}/Modules, which is where CMake puts it's self-installed modules? I mean, so long as there is no conflict. Hmm ... maybe we're better off just keeping non-cmake-installed modules in share/cmake/Modules ...