Hi,

I built and installed FreeGLUT in a custom location in my home
directory (Note: it's a custom location, but I also have pkg-config
installed on my PATH, and I did set it up so that when I do
'pkg-config --list-all' it successfully detects FreeGLUT in the
location where I installed it).

Now I'm trying to build a project that has find_package(GLUT REQUIRED)
and, as I would expect, it detects the system GLUT that comes standard
with MacOS. But for this particular build, I want it to find FreeGLUT
instead of the system GLUT. How can I force finding FreeGLUT?

Thanks a lot in advance,

ardi
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake

Reply via email to