CMake Default Prefixes are wrong?

Ruben Di Battista rubendibattista at gmail.com
Tue Aug 13 13:47:26 UTC 2019


Hello, 

I’m still struggling with the build of Paraview :/. I have a problem with cmake not finding the Config.cmake file for the port:icet. So I watched the debug builds on Azure, and the CMAKE_PREFIX_PATH is set to: -DCMAKE_PREFIX_PATH=/opt/local/share/cmake/modules. So I went checking the cmake1.1 port Group and in facts:

```
proc cmake::module_path {} {
    if {[llength [option cmake.module_path]]} {
        set modpath "[join [concat [option cmake_share_module_dir] [option cmake.module_path]] \;]"
    } else {
        set modpath [option cmake_share_module_dir]
    }
    return [list \
        -DCMAKE_MODULE_PATH="${modpath}" \
        -DCMAKE_PREFIX_PATH="${modpath}"
    ]
}

```

But I think that CMAKE_PREFIX_PATH should instead be (or at least should contain) /opt/local/lib/cmake. Shouldn’t it?


          _   
-.     .´  |∞∞∞∞
  ',  ;    |∞∞∞∞∞∞
    ˜˜     |∞∞∞∞∞∞∞∞∞ RdB
    ,.,    |∞∞∞∞∞∞
  .'   '.  |∞∞∞∞
-'       `’

https://rdb.is
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20190813/41d7adbb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP using AMPGpg
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20190813/41d7adbb/attachment.sig>


More information about the macports-dev mailing list