<div dir="ltr"><div style>The line<br></div><div>ExternalProject_Add(bullet PREFIX ${PROJECT_SOURCE_DIR})<br></div><div style>fails with</div><div style><div>Install the project...</div><div>-- Install configuration: &quot;Release&quot;</div>

<div>CMake Error at cmake_install.cmake:38 (FILE):</div><div>  file cannot create directory: /usr/local/lib/pkgconfig.  Maybe need</div><div>  administrative privileges.</div><div><br></div><div style>Why? How do I avoid needing root for building my project?</div>

<div style><br></div><div style>What I&#39;m trying to do: Build several projects (bullet, ogre, btogre, sdl, mygame) into one thing. ExternalProject seems like the correct way to do that.</div><div style><br></div><div style>

Lubuntu Linux 12.04</div><div style>CMake 2.8.7</div></div></div>