[cmake-developers] Proper way to find 64-bit version of a library (or specifically OSG)
Mattias Helsing
helsing72 at gmail.com
Tue May 12 16:24:29 EDT 2015
Hi all,
I'm wondering what the proper way is to go about finding 64-bit
versions of a library. My situation is that I have built
OpenSceneGraph 64-bit and installed it. The libraries end up in
/usr/whatever/lib64. But to be able to find the libraries I needed to
modify Modules/FindOpenThreads.cmake and
Modules/Findosg_functions.cmake to also search lib64 suffixes
(modified PATH_SUFFIXES).
Is this the way to go? Should I submit a patch ? Or is there some
higher level way to make find_package look for 64-bit libraries that
is more appropriate ?
And yes, I'm on CMake master as of may12.
Thanks
Mattias
More information about the cmake-developers
mailing list