Commit 6e7567c3 authored by saubatn's avatar saubatn
Browse files

FIXED : CMake configuration to correctly consider XSD library.

git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@191 ec899d31-69d1-42ba-9299-647d76f65fb3
parent 22931d89
......@@ -11,7 +11,8 @@ if(COMPONENT_MML)
link_directories(${MML_SOFA_LIB_DIR})
endif()
#FIXME xerces-c/xsd dependency properly (if mml is needed, xerces-c and xsd are needed)
include_directories(${XERCESC_ROOT_DIR}/include)
include_directories(${XERCESC_ROOT_DIR}/include ${XSD_INCLUDE_DIR})
......
......@@ -33,7 +33,7 @@ set(LML_INCLUDE_DIRECTORIES
set(LML_LIBRARIES
lml
${LIBXML2_LIBRARIES}
${LIBXML2_LIBRARIES}
)
set( HEADERS
......
......@@ -27,6 +27,7 @@ set(MML_INCLUDE_DIRECTORIES
${CAMITK_INCLUDE_DIR}/lml
${LIBXML2_INCLUDE_DIR}
${XERCESC_INCLUDE_DIR}
${XSD_INCLUDE_DIR}
)
set(MML_LIBRARIES
......
......@@ -41,6 +41,7 @@ endif()
set(monitoringLib_LIBRARIES ${MML_LIBRARIES})
include_directories(${MML_INCLUDE_DIRECTORIES})
message("INCLUDE DIRECTORIES FOR MML/Schema : ${MML_INCLUDE_DIRECTORIES}")
add_library(mml STATIC ${monitoringLib_SRCS}) # better use static libs for distributing executables
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment