Go to file
Matt Leotta 912592de4c Remove "INSTALL_NAME_DIR lib" target property
The INSTALL_NAME_DIR property of a target specifies how a dynamic library should
be found on OS X.  If INSTALL_NAME_DIR is not specified the loader will search
relative to the standard search paths.  If specified it should either be
an absolute path or relative path prefixed with either @executable_path,
@load_path, or @rpath.  Specifying "lib" does not make sense here and
causes linking error as documented here:

http://answers.opencv.org/question/4134/cmake-install_name_tool-absolute-path-for-library-on-mac-osx/

and here

http://stackoverflow.com/questions/26978806/dyld-library-not-loaded-lib-libopencv-core-3-0-dylib-reason-image-not-found

This patch removes INSTALL_NAME_DIR everywhere it is set to "lib".
An alternate solution would be to set an absolute path like
"${CMAKE_INSTALL_PREFIX}/lib" or relative path like
"@executable_path/../lib".  However, if there is not specific need for
specifying a path, it is probably best left unset.
2016-01-21 16:07:56 -05:00
3rdparty Fix compilation problems with XCode 7.1.1 and cmake 3.3.2 2015-11-17 18:52:55 +03:00
apps Remove "INSTALL_NAME_DIR lib" target property 2016-01-21 16:07:56 -05:00
cmake Remove "INSTALL_NAME_DIR lib" target property 2016-01-21 16:07:56 -05:00
data Cat face detection cascades 2015-03-02 11:58:08 -04:00
doc Merge pull request #3975 from StevenPuttemans:RGB_doc_fixing_2.4 2015-05-12 15:12:04 +00:00
include include available modules only 2016-01-20 13:14:20 +03:00
modules Fixed "Conditional jump or move depends on uninitialised value(s)" valgrind issue due to wrong pointer recalculation for zero level of pyramid. 2016-01-21 12:54:08 +03:00
platforms Remove "INSTALL_NAME_DIR lib" target property 2016-01-21 16:07:56 -05:00
samples Fix compilation problems with XCode 7.1.1 and cmake 3.3.2 2015-11-17 18:52:55 +03:00
.gitattributes Added more text/binary/whitespace attributes for files we have. 2013-08-21 18:59:24 +04:00
.gitignore updated .gitignore 2014-01-10 18:59:06 +04:00
.tgitconfig Add tgit.icon project config 2014-02-26 17:46:52 +08:00
CMakeLists.txt make sure opencv builds fine with the recent versions of libav (e.g. from Ubuntu 14.10) 2015-06-09 15:53:08 +03:00
CONTRIBUTING.md add link to contributing guidelines 2015-09-17 14:14:21 +02:00
index.rst android -> plarforms/android 2013-05-27 11:10:38 +04:00
LICENSE Initial Linux packages build rools for CPack. 2014-01-21 20:34:36 +04:00
README.md Replaced Gittip button 2014-02-15 13:10:09 +04:00

OpenCV: Open Source Computer Vision Library

Gittip

Resources

Contributing

Please read before starting work on a pull request: http://code.opencv.org/projects/opencv/wiki/How_to_contribute

Summary of guidelines:

  • One pull request per issue;
  • Choose the right base branch;
  • Include tests and documentation;
  • Clean up "oops" commits before submitting;
  • Follow the coding style guide.