> On Apr 16, 2015, at 8:30 AM, Tomaz Canabrava <[email protected]> wrote:
> 
> Will test here, but I was sure it worked for defines
> 
I thought you needed
cmake -DCMAKE_CXX_FLAGS=-DNO_MARBLE

-D defines a cmake variable. So add the “-DNO_MARBLE” to the CXX_FLAGS :-)

/D


> Em Qui, 16 de abr de 2015 12:09, Lubomir I. Ivanov <[email protected] 
> <mailto:[email protected]>> escreveu:
> On 16 April 2015 at 13:59, Tomaz Canabrava <[email protected] 
> <mailto:[email protected]>> wrote:
> > If you pass cmake  -DNO_MARBLE=1 tô the command line it should work
> >
> 
> to my understanding -D from the cmake command line defines a cmake
> variable, which is not a pre-processor macro.
> http://stackoverflow.com/questions/9531637/cmake-command-line-for-c-define 
> <http://stackoverflow.com/questions/9531637/cmake-command-line-for-c-define>
> 
> lubomir
> --
> _______________________________________________
> subsurface mailing list
> [email protected]
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to