darrenlafreniere / lafarren-image-completer

Implementation of the research titled: "Image Completion Using Efficient Belief Propagation via Priority Scheduling and Dynamic Pruning"
http://www.lafarren.com/image-completer/
GNU General Public License v3.0
32 stars 18 forks source link

I had to #define UNIX #4

Closed daviddoria closed 13 years ago

daviddoria commented 13 years ago

I guess I didn't follow how you suggested taking care of this? I just added #define UNIX in Core.h but this should be more automatic.

daviddoria commented 13 years ago

This also happens in Atomic.h

darrenlafreniere commented 13 years ago

Platform preprocessor definitions are usually defined out in the build environment, rather than in anything that's committed to the repo. Does cmake have any way of locally defining UNIX for your own build?

daviddoria commented 13 years ago

I added a cmake flag.