It seems like the most expedient solution is to invoke CMake directly, as 
Brecht instructs.

The Makefile is just for the convenience of those of us used to typing 'make', 
and apparently depends on having the kind of gnu-ish make that is found on 
Linux and OSX.


On Oct 5, 2011, at 4:23 PM, Brecht Van Lommel wrote:

> Here are some steps to do build directly using cmake:
> 
> mkdir -p build/freebsd
> cd build/freebsd
> cmake ../../src -DCMAKE_INSTALL_PREFIX=../../dist/freebsd
> make install
> 
> Regarding the errors, the makefile uses gnu make extensions, so
> installing and using that instead would probably solve them.
> 
> I've never used it, but looking at the bsd make documentation, it
> seems even the syntax for basic things like conditionals is different.
> That would require a completely separate makefile for bsd platforms
> then? I'm not sure if it's worth having that, instead of suggesting to
> use either gnu make or cmake directly for those platforms.
> 
> Brecht.

--
Larry Gritz
[email protected]


_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to