Improving CMake config with xerces

parent 00bdb9ed
......@@ -28,12 +28,11 @@ if( NOT DEFINED ITA_GEO_WITH_IFC_SUPPORT )
endif( )
if( NOT DEFINED ITA_GEO_WITH_XERCES_SUPPORT )
set( ITA_GEO_WITH_XERCES_SUPPORT OFF CACHE BOOL "Build with XERCES support (requires xerces)" )
set( ITA_GEO_WITH_XERCES_SUPPORT OFF CACHE BOOL "Build with XERCES support (requires xerces, for debugging into XML parser)" )
endif( )
if( ITA_GEO_WITH_OPEN_MESH_SUPPORT )
vista_use_package( OpenMesh REQUIRED )
#add_definitions( -DOPENMESHDLL )
endif( )
if( ITA_GEO_WITH_SKETCHUP_SUPPORT )
......@@ -41,7 +40,8 @@ if( ITA_GEO_WITH_SKETCHUP_SUPPORT )
endif( )
if( ITA_GEO_WITH_CITYGML_SUPPORT )
vista_use_package( libcitygml REQUIRED FIND_DEPENDENCIES )
vista_use_package( libcitygml REQUIRED )
vista_use_package( xerces REQUIRED )
endif( )
if( ITA_GEO_WITH_IFC_SUPPORT )
......
Markdown is supported
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