I use add_subdirectory to add bullet and sdl.. Could you try that? I've never
worked with ExternalProject_Add and wouldn't really know what it does.
On 2013-20-01, at 22:26:44 , Ansis Māliņš wrote:
> The line
> ExternalProject_Add(bullet PREFIX ${PROJECT_SOURCE_DIR})
> fails with
> Install the project...
> -- Install configuration: "Release"
> CMake Error at cmake_install.cmake:38 (FILE):
> file cannot create directory: /usr/local/lib/pkgconfig. Maybe need
> administrative privileges.
>
> Why? How do I avoid needing root for building my project?
>
> What I'm trying to do: Build several projects (bullet, ogre, btogre, sdl,
> mygame) into one thing. ExternalProject seems like the correct way to do that.
>
> Lubuntu Linux 12.04
> CMake 2.8.7
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake