[CMake] Tell find_package to look only for 32bit libs (or specify the exact location)

C. Meissa carsten.meissa at gmx.de
Wed Aug 18 04:26:22 EDT 2010


Hi,

Am Mittwoch, 18. August 2010 schrieb Nils:
> 1. Is there a way to tell find_package to only look for 32bit libs?
> 2. Is there a way to tell find_package to look only in a specific
> path?

Findpackage is just a normal cmake script running find_library.
So you could copy FindGtest.cmake to your source path and make
find_library search for gtest32

bye
C.M.


More information about the CMake mailing list