[CMake] Having difficulty with find_library()
Robert Dailey
rcdailey at gmail.com
Thu Jan 15 16:38:57 EST 2009
On Thu, Jan 15, 2009 at 2:22 PM, Hendrik Sattler <post at hendrik-sattler.de>wrote:
> Am Thursday 15 January 2009 18:13:43 schrieb Robert Dailey:
> > On Thu, Jan 15, 2009 at 10:07 AM, Michael Jackson <
> >
> > mike.jackson at bluequartz.net> wrote:
> > > To look for the Compiler being used..
> > >
> > > IF (MSVC60)
> > > SET (...)
> > > ENDIF (MSVC60)
> > > IF (MSVC71)
> > > SET (....)
> > > ENDIF(MSVC71)
> > > IF (MSVC80)
> > > SET (....)
> > > ENDIF(MSVC80)
> > > IF (MSVC90)
> > > SET (.....)
> > > ENDIF (MSVC90)
> >
> > I also need to check if a 64 build is being made or a 32 bit build. How
> > would you recommend checking for this?
>
> Check if CMAKE_SIZE_VOID_P is 8 (64bit) or 4 (32bit).
That seems random. The name also doesn't make any sense. Is there not a more
intuitive way?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090115/a9d2f8ca/attachment.htm>
More information about the CMake
mailing list