2013/1/21 Ansis Māliņš <[email protected]>

> > I don't really know but  your ExternalProject_Add( looks strange?
> Changing PROJECT_*_DIR to CMAKE_*_DIR doesn't help. Neither does setting
> directories directly instead of setting PREFIX.
>

I think I wasn't clear.
I supposed that your CMakeLists.txt was taken from your project which
requires external project(s) so that

ExternalProject_Add(bullet PREFIX ${PROJECT_SOURCE_DIR})

should probably be replaced with something like:

ExternalProject_Add(bullet PREFIX ${PROJECT_SOURCE_DIR}/extdep/bullet)

in order to avoid mixing source of the various external projetcs you
integrate
with one another and with the main project.

May be you can send us your main CMakeLists.txt and/or describe
the directory structure you designed for your project and external projects?

-- 
Erk
Le gouvernement représentatif n'est pas la démocratie --
http://www.le-message.org
--

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

Reply via email to