Re: [CMake] Compiling OpenGL application with CMake

2009-02-24 Thread Andrea Tagliasacchi
the only one, then "REQUIRED" gives the trick. -- Andrea Tagliasacchi You might want to consider adding the REQUIRED keyword to the find_package() > command if the package is absolutely essential to compiling your entire > project. It should yield a far more useful error message i

Re: [CMake] Compiling OpenGL application with CMake

2009-02-19 Thread Andrea Tagliasacchi
(mesh_view ${OPENGL_LIBRARIES} ${GLUT_LIBRARIES}) * Hopefully other people will be able to find this solution. -- Andrea Tagliasacchi Ph.D. Candidate School of Computer Science Simon Fraser University Try TARGET_LINK_LIBRARIES(mesh_view ${OPENGL_LIBRARIES}) > If it fails to link you can use &q

[CMake] Compiling OpenGL application with CMake

2009-02-19 Thread Andrea Tagliasacchi
_LIBRARY} ${GL_LIBRARY}) LINK_DIRECTORIES(${OPENGL_LIBRARIES}) Any suggestion? Really appreciated. -- Andrea Tagliasacchi Ph.D. Candidate School of Computer Science Simon Fraser University ___ Powered by www.kitware.com Visit other Kitware open-source pr