• 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
Name
Last commit
Last update
..
FindCUDA Loading commit data...
android Loading commit data...
checks Loading commit data...
templates Loading commit data...
FindCUDA.cmake Loading commit data...
FindFlake8.cmake Loading commit data...
FindGstreamerWindows.cmake Loading commit data...
FindOpenVX.cmake Loading commit data...
FindPylint.cmake Loading commit data...
OpenCVCRTLinkage.cmake Loading commit data...
OpenCVCompilerDefenses.cmake Loading commit data...
OpenCVCompilerOptimizations.cmake Loading commit data...
OpenCVCompilerOptions.cmake Loading commit data...
OpenCVDetectApacheAnt.cmake Loading commit data...
OpenCVDetectCStripes.cmake Loading commit data...
OpenCVDetectCUDA.cmake Loading commit data...
OpenCVDetectCXXCompiler.cmake Loading commit data...
OpenCVDetectDirectX.cmake Loading commit data...
OpenCVDetectHalide.cmake Loading commit data...
OpenCVDetectInferenceEngine.cmake Loading commit data...
OpenCVDetectMediaSDK.cmake Loading commit data...
OpenCVDetectOpenCL.cmake Loading commit data...
OpenCVDetectPython.cmake Loading commit data...
OpenCVDetectTBB.cmake Loading commit data...
OpenCVDetectTrace.cmake Loading commit data...
OpenCVDetectVTK.cmake Loading commit data...
OpenCVDownload.cmake Loading commit data...
OpenCVExtraTargets.cmake Loading commit data...
OpenCVFindAtlas.cmake Loading commit data...
OpenCVFindFrameworks.cmake Loading commit data...
OpenCVFindIPP.cmake Loading commit data...
OpenCVFindIPPIW.cmake Loading commit data...
OpenCVFindIntelPerCSDK.cmake Loading commit data...
OpenCVFindLAPACK.cmake Loading commit data...
OpenCVFindLATEX.cmake Loading commit data...
OpenCVFindLibsGUI.cmake Loading commit data...
OpenCVFindLibsGrfmt.cmake Loading commit data...
OpenCVFindLibsPerf.cmake Loading commit data...
OpenCVFindLibsVideo.cmake Loading commit data...
OpenCVFindMKL.cmake Loading commit data...
OpenCVFindOpenBLAS.cmake Loading commit data...
OpenCVFindOpenEXR.cmake Loading commit data...
OpenCVFindOpenNI.cmake Loading commit data...
OpenCVFindOpenNI2.cmake Loading commit data...
OpenCVFindProtobuf.cmake Loading commit data...
OpenCVFindVA.cmake Loading commit data...
OpenCVFindVA_INTEL.cmake Loading commit data...
OpenCVFindWebP.cmake Loading commit data...
OpenCVFindXimea.cmake Loading commit data...
OpenCVGenABI.cmake Loading commit data...
OpenCVGenAndroidMK.cmake Loading commit data...
OpenCVGenConfig.cmake Loading commit data...
OpenCVGenHeaders.cmake Loading commit data...
OpenCVGenInfoPlist.cmake Loading commit data...
OpenCVGenPkgconfig.cmake Loading commit data...
OpenCVGenSetupVars.cmake Loading commit data...
OpenCVMinDepVersions.cmake Loading commit data...
OpenCVModule.cmake Loading commit data...
OpenCVPCHSupport.cmake Loading commit data...
OpenCVPackaging.cmake Loading commit data...
OpenCVPylint.cmake Loading commit data...
OpenCVUtils.cmake Loading commit data...
OpenCVVersion.cmake Loading commit data...
cl2cpp.cmake Loading commit data...
copy_files.cmake Loading commit data...