Skip to content

Instantly share code, notes, and snippets.

@bmount
Created October 1, 2013 02:15
Show Gist options
  • Select an option

  • Save bmount/6773049 to your computer and use it in GitHub Desktop.

Select an option

Save bmount/6773049 to your computer and use it in GitHub Desktop.
cmake flags for opencv on mac w/ tbb, non-system python, and examples.
cmake -DPYTHON_EXECUTABLE:PATH='/usr/local/bin/python' -DPYTHON_INCLUDE_DIR:PATH='/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/include/python2.7/' -DPYTHON_LIBRARY:PATH='/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib' -DBUILD_EXAMPLES:BOOL="1" -DWITH_TBB:BOOL="1" -G "Unix Makefiles" ..
@bmount
Copy link
Author

bmount commented Dec 10, 2013

cmake -DPYTHON_EXECUTABLE:PATH='/usr/local/bin/python' -DPYTHON_INCLUDE_DIR:PATH='/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/include/python2.7/' -DPYTHON_LIBRARY:PATH='/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib' -DBUILD_EXAMPLES:BOOL="1" -DWITH_TBB:BOOL="1" -G "Unix Makefiles" ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment