1. 20 Jun, 2016 1 commit
    • Alexander Alekhin's avatar
      cmake: refactoring of OpenCVConfig · c6c65121
      Alexander Alekhin authored
      - removed OpenCV_LIB_DIR* vars (they are broken and not required anymore)
      - OpenCVConfig.cmake doesn't contain ANDROID/CUDA code if there is no such support
      - removed OpenCV2_INCLUDE_DIRS_CONFIGCMAKE, merged into OpenCV_INCLUDE_DIRS_CONFIGCMAKE
      - fix hard-coded relative paths for OpenCV_INSTALL_PATH
      - removed OpenCV_TBB_ARCH
      - switch OpenCVConfig.cmake into 2-level mode for Android SDK
      c6c65121
  2. 06 Apr, 2016 1 commit
    • qiao's avatar
      fix OpenCV_CONFIG_PATH get null value after CMake 2.8.11 · a7fe73f2
      qiao authored
      syntax of cmake "get_filename_component" changed after version 2.8.11
      
      for cmake version < 2.8.11
        get_filename_component(<VAR> <FileName> PATH [CACHE])
      
      for cmake version >= 2.8.11
        get_filename_component(<VAR> <FileName> DIRECTORY [CACHE])
      
      Update OpenCVConfig.cmake
      
      Update OpenCVConfig.cmake.in
      a7fe73f2
  3. 18 Dec, 2015 1 commit
  4. 17 Dec, 2015 1 commit
    • Vincent Rabaud's avatar
      Properly check for version in find_package · 932043fd
      Vincent Rabaud authored
      If I ask for version 2, the current trunk version (version 3), will say it is compatible, which is erroneous.
      
      Do not consider different major versions compatible in cmake config file
      932043fd
  5. 12 Dec, 2015 1 commit
  6. 17 Jun, 2015 1 commit
  7. 02 Jun, 2015 1 commit
  8. 24 Apr, 2015 1 commit
    • Alexander Nitsch's avatar
      Implement CMAKE_CURRENT_LIST_DIR for older CMake · d6c95621
      Alexander Nitsch authored
      The use of built-in CMAKE_CURRENT_LIST_DIR requires at least
      CMake 2.8.3. This fix properly defines the variable to allow its
      use in versions < 2.8.3 as well.
      
      Fixes issue #4205.
      
      Exclude >= 2.8.3 from reimplementation of CMAKE_CURRENT_LIST_DIR
      
      This avoids violation of possible future CMake policy checks
      regarding reserved/read-only variables.
      d6c95621
  9. 10 Apr, 2015 1 commit
  10. 31 Mar, 2015 1 commit
    • Roman Donchenko's avatar
      Use imported targets for linking to CUDA · 6e121b2e
      Roman Donchenko authored
      This retains the desirable quality of not including paths to CUDA libraries
      from the build system into the config files, and has two major advantages:
      
      * It removes the need to use link_directories, which doesn't guarantee that
        the libraries from the supplied directory will be used (there may be
        libraries with the same names earlier in the search path).
      
      * It removes the need to put -L entries into OPENCV_LINKER_LIBS. This variable
        is used with target_link_libraries, where such entries are treated as linker
        flags, so doing this is unportable. I remove the support for -L entries
        from OpenCVGenPkgconfig.cmake, as well, to discourage adding them in the
        future.
      6e121b2e
  11. 30 Mar, 2015 1 commit
  12. 22 Feb, 2015 2 commits
  13. 20 Feb, 2015 1 commit
  14. 19 Feb, 2015 1 commit
  15. 17 Nov, 2014 1 commit
  16. 11 Nov, 2014 1 commit
    • Michae Gharbi's avatar
      Fix Cuda -Wl linker options · 28103ad3
      Michae Gharbi authored
      This line causes the following error when building custom projects that use OpenCV beta 3:
      ld: warning: directory not found for option '-L/<project_root>/-Wl,/usr/local/cuda'
      28103ad3
  17. 28 Oct, 2014 1 commit
    • Jose-Luis Blanco-Claraco's avatar
      OpenCVConfig.cmake: Fix CMake CMP0012 warning · 539acaf3
      Jose-Luis Blanco-Claraco authored
      "TRUE"/"FALSE" should not be used as literals, as CMake has to decide
      whether they are literals or variable names (sigh).
      This patch should make it work with any version of CMake and with any
      user-side decision on old vs. new policy behavior.
      539acaf3
  18. 02 Sep, 2014 2 commits
  19. 05 Aug, 2014 1 commit
  20. 14 Jul, 2014 1 commit
  21. 13 May, 2014 1 commit
  22. 12 May, 2014 1 commit
  23. 07 May, 2014 1 commit
  24. 28 Mar, 2014 1 commit
  25. 17 Mar, 2014 1 commit
  26. 19 Nov, 2013 3 commits
  27. 15 Nov, 2013 1 commit
  28. 14 Nov, 2013 2 commits
  29. 13 Nov, 2013 2 commits
  30. 25 Oct, 2013 2 commits
  31. 15 Oct, 2013 1 commit
  32. 09 Oct, 2013 2 commits