It would be nice if CMAKE_SOURCE_DIR was replaced with CMAKE_CURRENT_SOURCE_DIR.
This lets me just chain in freeglut with exsiting cmake project and build the whole mess with proper dependencies all over.
But, if included in another script, it cannot find <badroot>/config.h.in.
Changing the variable will not mean any difference if compiled with freeglut as a root project.
Log in to post a comment.