Sending this back to the list for completeness.

On Wed, Sep 23, 2009 at 08:31:33AM -0600, Dixon, Shane wrote:
> You were right, it did end up being recursive.  Each time I configured, it 
> would keep appending MyProg-${VERSION} to the already existing path.  I got 
> around it by doing this:
> 
> IF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
>       SET(CMAKE_INSTALL_PREFIX 
> "${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME}-${VERSION}" CACHE STRING "Install 
> path" FORCE)
> ENDIF()

Haha, I *knew* this problem sounded familiar. Did you get this solution
from my post on this topic from last week?

Glad it worked out.

tyler
_______________________________________________
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