Changes between Version 2 and Version 6 of Ticket #71871
- Timestamp:
- Jan 19, 2025, 7:10:39 PM (11 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #71871
-
Property
Status
changed from
newtoassigned - Property Cc mascguy removed
-
Property
Summary
changed from
cmake can't find boosttopg boost: for cmake projects, add boost to module path - Property Keywords portgroup added
-
Property
Version
changed from
to2.10.5 - Property Owner set to mascguy
- Property Port pg-boost added; boost181 removed
-
Property
Status
changed from
-
Ticket #71871 – Description
v2 v6 1 I'm not really sure if this is a cmake issue or a boost issue. 2 I'm trying to build a non-macports app (OpenModelica) using cmake, and worked fine until recently. When I run cmake I now get these errors: 1 When the CMake pgs are in use, add Boost to the module path. Something like this, which was recently added to port `cadabra2`: 3 2 3 {{{ 4 # Ensure CMake can find the selected boost port 5 # TODO: Do this automatically via Boost portgroup 6 cmake.module_path-append \ 7 [boost::lib_dir]/cmake 8 }}} 9 10 Original description: 11 12 I'm not really sure if this is a cmake issue or a boost issue. I'm trying to build a non-macports app (OpenModelica) using cmake, and worked fine until recently. When I run cmake I now get these errors: 4 13 5 14 {{{ … … 12 21 }}} 13 22 14 I see this ticket that is having the same problem: 15 #71642 16 Which suggests that it's a boost issue, but then has a fix of the cadabra2 port, where the problem was showing up. 17 I do have boost176 and boost181 ports installed. I hadn't installed either directly, so they are dependents of other ports. 18 I'm not familiar enough with Boost to understand how to make cmake "find" it. 23 I see this ticket that is having the same problem: #71642 Which suggests that it's a boost issue, but then has a fix of the cadabra2 port, where the problem was showing up. 24 25 I do have boost176 and boost181 ports installed. I hadn't installed either directly, so they are dependents of other ports. I'm not familiar enough with Boost to understand how to make cmake "find" it.
