Changes between Version 1 and Version 2 of Ticket #41241, comment 4
- Timestamp:
- Aug 5, 2014, 12:57:26 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #41241, comment 4
v1 v2 5 5 It uses a newer git revision from https://github.com/vxl/vxl rather than the release. 6 6 7 As mentioned in ticket #42872, using {{{PortGroup cmake 1.0}}} in the Porfile has CMake automatically fed with too many (too early) includes of {{{$prefix/include}}}, what prevents the compilation of vxl against an internal openjpeg 2.x. This is an issue if for instance ffmpeg is installed, which currently depends on openjpeg15 which gets precedence in the included directories order, even if cmake command {{{include_directories(BEFORE ...)}}} is used as proposed by Andreas above. Adding {{{ 7 As mentioned in ticket #42872, using {{{PortGroup cmake 1.0}}} in the Porfile has CMake automatically fed with too many (too early) includes of {{{$prefix/include}}}, what prevents the compilation of vxl against an internal openjpeg 2.x. This is an issue if for instance ffmpeg is installed, which currently depends on openjpeg15 which gets precedence in the included directories order, even if cmake command {{{include_directories(BEFORE ...)}}} is used as proposed by Andreas above. Adding 8 {{{ 8 9 configure.cflags-delete ${configure.cppflags} 9 10 configure.cxxflags-delete ${configure.cppflags} 10 }}} didn't work for me, so I uglily pasted the contents of {{{${prefix}/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/cmake-1.0.tcl}}}, commenting out the configure.cppflags appends. 11 }}} 12 didn't work for me, so I uglily pasted the contents of {{{${prefix}/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/cmake-1.0.tcl}}}, commenting out the configure.cppflags appends. 11 13 12 14 I'm not sure the cmake files are installed in the proper directory which is currently {{{${prefix}/share/vxl/cmake}}}. For instance OpenCV doesn't have the trailing cmake subdir.