gpu / JOCL

Java bindings for OpenCL
http://www.jocl.org
Other
187 stars 33 forks source link

Mac Compilation : Add opengl lib/header paths and c++11 flags. #2

Closed ashishnegi closed 8 years ago

ashishnegi commented 8 years ago

About the line-ending changes : Every time i save the file in emacs/vim, it just auto removes the line-character. Hope its ignorable.

gpu commented 8 years ago

Thanks for this (and apologies that I did not yet do this on my own, I've been on a conference and could not yet have a closer look at this).

I think that it will also be necessary to set

cmake_minimum_required(VERSION 3.1.0)

because that's the version where the CXX_STANDARD property was introduced. If you added this, I'd pull it accordingly, otherwise I'll pull your current version and add the version afterwards. (BTW: I just tested it on Windows, and it works properly, also the other changes for OpenGL)

ashishnegi commented 8 years ago

Thanks for your work on JOCL. Community should come forward to make these simple changes. :) I did set up the 3.1.0 minimum requirement.