[Cmake] -I/usr/include needed before -I/usr/X11R6/include
Wheeler, Fred (Research)
wheeler at crd.ge.com
Tue Jun 11 16:12:51 EDT 2002
I also tried
INCLUDE_DIRECTORIES( BEFORE /usr/include ) # also ignored
> -----Original Message-----
> From: Wheeler, Fred (Research)
> Sent: Tuesday, June 11, 2002 4:12 PM
> To: 'cmake at public.kitware.com'
> Subject: [Cmake] -I/usr/include needed before -I/usr/X11R6/include
>
>
> I need to have -I/usr/include before -I/usr/X11R6/include on
> the c++ compile command so I get GL/*.h
> from /usr/include/GL, and not /usr/X11R6/include/GL. Is
> there a way to specify this in cmake? I
> tried the following
>
> INCLUDE_DIRECTORIES( /usr/include ) # ignored
>
> ADD_DEFINITIONS( -I/usr/include ) # goes to end, after
> all of the other -I options
>
> Thanks,
> Fred Wheeler
> _______________________________________________
> Cmake mailing list
> Cmake at public.kitware.com
> http://public.kitware.com/mailman/listinfo/cmake
>
More information about the CMake
mailing list