Thanks Paul, change now merged and submitted to svn/trunk.

On Fri, Mar 19, 2010 at 8:13 PM, Paul Martz <[email protected]> wrote:
> Hi Robert -- Here's a small fix for the genwrappers CMakeLists.txt. On my
> Mac, at least, Boost installs into /opt/local/include, which the compiler
> doesn't search by default. This change adds Boost_INCLUDE_DIR to the
> compiler's header search path list.
>
> Thanks.
>   -Paul
>
>
>
>
> cmake_minimum_required(VERSION 2.6)
>
> PROJECT(genwrapper)
>
> FIND_PACKAGE(Boost COMPONENTS regex)
> FIND_PACKAGE(LibXml2)
>
> SET(SOURCES
>    Configuration.cpp
>    FileSystemUtils.cpp
>    main.cpp
>    NodeMap.cpp
>    Notify.cpp
>    PathNameUtils.cpp
>    RegistryBuilder.cpp
>    TypeDesc.cpp
>    TypeNameUtils.cpp
>    TypeRegistry.cpp
>    WrapperGenerator.cpp
> )
>
> INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIR} ${LIBXML2_INCLUDE_DIR})
>
> LINK_DIRECTORIES(${Boost_LIBRARY_DIRS})
>
> ADD_EXECUTABLE(genwrapper ${SOURCES})
>
> TARGET_LINK_LIBRARIES(genwrapper ${LIBXML2_LIBRARIES}
> ${Boost_REGEX_LIBRARY})
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to