1. 05 Jul, 2019 2 commits
  2. 04 Jul, 2019 5 commits
  3. 03 Jul, 2019 7 commits
  4. 02 Jul, 2019 11 commits
  5. 01 Jul, 2019 5 commits
  6. 30 Jun, 2019 2 commits
  7. 29 Jun, 2019 6 commits
  8. 28 Jun, 2019 2 commits
    • Alexander Alekhin's avatar
    • Stefan Brüns's avatar
      Handle absolute OPENCV_INCLUDE_INSTALL_PATH correctly · 0a45b8c4
      Stefan Brüns authored
      In case OPENCV_INCLUDE_INSTALL_PATH is absolute (i.e. starts with a "/"),
      the path ends up with a double "/".
      
      While this is mostly equivalent to a single slash, it may have a nasty
      side effect when:
      - OpenCV_INSTALL_PATH is empty
      - OPENCV_INCLUDE_INSTALL_PATH is "/usr/include"
      - the calling build script uses "-isystem" to specify the path to the
        headers of dependencies (to avoid warnings)
      
      Specifying "-isystem /usr/include" breaks the path ordering, and GCC can
      no longer find its "stdlib.h", thus CMake filters such statements.
      Unfortunately it fails to do so when using "//usr/include".
      0a45b8c4