Changes between Version 1 and Version 2 of Ticket #41241, comment 4


Ignore:
Timestamp:
Aug 5, 2014, 12:57:26 AM (10 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #41241, comment 4

    v1 v2  
    55It uses a newer git revision from https://github.com/vxl/vxl rather than the release.
    66
    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 {{{
     7As 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{{{
    89configure.cflags-delete ${configure.cppflags}
    910configure.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}}}
     12didn'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.
    1113
    1214I'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.