opencv/apps/haartraining
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
..
_cvcommon.h Normalized file endings. 2013-08-21 18:59:25 +04:00
_cvhaartraining.h Normalize line endings and whitespace 2012-10-17 15:32:23 +04:00
CMakeLists.txt Remove "INSTALL_NAME_DIR lib" target property 2016-01-21 16:07:56 -05:00
createsamples.cpp Warning on converting int to bool fixed 2014-09-05 11:27:43 +04:00
cvboost.cpp Merged the trunk r8589:8653 - all changes related to build warnings 2012-06-15 13:04:17 +00:00
cvclassifier.h deleted extra semicolons 2014-01-07 02:52:30 +04:00
cvcommon.cpp Normalize line endings and whitespace 2012-10-17 15:32:23 +04:00
cvhaarclassifier.cpp Merged the trunk r8589:8653 - all changes related to build warnings 2012-06-15 13:04:17 +00:00
cvhaartraining.cpp Warning on converting int to bool fixed 2014-09-05 11:27:43 +04:00
cvhaartraining.h Warning on converting int to bool fixed 2014-09-05 11:27:43 +04:00
cvsamples.cpp Merged the trunk r8589:8653 - all changes related to build warnings 2012-06-15 13:04:17 +00:00
cvsamplesoutput.cpp Include for cvSameImage corrected 2014-09-05 10:45:54 +04:00
cvsamplesoutput.h No output image resize in case of PNG dataset 2014-09-01 13:02:27 +04:00
haartraining.cpp Global CMake reorganization: 2012-02-03 11:26:49 +00:00
ioutput.h Naming fixes and code beautification 2014-08-27 12:41:18 +04:00
performance.cpp Normalized file endings. 2013-08-21 18:59:25 +04:00