[Bf-committers] Header files installed to wrong directory.

Campbell Barton ideasman42 at gmail.com
Fri Aug 5 06:16:35 CEST 2011


On Fri, Aug 5, 2011 at 7:02 AM, Richard Shaw <hobbes1069 at gmail.com> wrote:
> Ok, I'm not sure if I did it the right way but I fixed it by changing
> one cmake variable in
>
> source/creator/CMakeLists.txt
>
> from:
> # headers
> install(
>        FILES
>        ${CMAKE_SOURCE_DIR}/source/blender/makesrna/RNA_access.h
>        ${CMAKE_SOURCE_DIR}/source/blender/makesrna/RNA_types.h
>        ${CMAKE_BINARY_DIR}/source/blender/makesrna/intern/RNA_blender.h
>        ${CMAKE_BINARY_DIR}/source/blender/makesrna/intern/RNA_blender_cpp.h
>        ${CMAKE_SOURCE_DIR}/intern/guardedalloc/MEM_sys_types.h
>        ${CMAKE_SOURCE_DIR}/intern/guardedalloc/MEM_guardedalloc.h
>        ${CMAKE_SOURCE_DIR}/source/blender/blenloader/BLO_sys_types.h
>        ${CMAKE_SOURCE_DIR}/source/blender/makesdna/DNA_listBase.h
>        DESTINATION ${INCLUDE_OUTPUT_PATH})  <------- HERE
>
> to:
> # headers
> install(
>        FILES
>        ${CMAKE_SOURCE_DIR}/source/blender/makesrna/RNA_access.h
>        ${CMAKE_SOURCE_DIR}/source/blender/makesrna/RNA_types.h
>        ${CMAKE_BINARY_DIR}/source/blender/makesrna/intern/RNA_blender.h
>        ${CMAKE_BINARY_DIR}/source/blender/makesrna/intern/RNA_blender_cpp.h
>        ${CMAKE_SOURCE_DIR}/intern/guardedalloc/MEM_sys_types.h
>        ${CMAKE_SOURCE_DIR}/intern/guardedalloc/MEM_guardedalloc.h
>        ${CMAKE_SOURCE_DIR}/source/blender/blenloader/BLO_sys_types.h
>        ${CMAKE_SOURCE_DIR}/source/blender/makesdna/DNA_listBase.h
>        DESTINATION ${INCLUDE_INSTALL_DIR})  <------ HERE
>
>
> Thanks,
> Richard

Are you building a branch? - current trunk doesn't include the lines you post.
If so please include such info when reporting problems otherwise we
assume you use trunk.

For the RPATH problem were you building a branch too?
-- 
- Campbell


More information about the Bf-committers mailing list