INCLUDE(${CREA_CMAKE_DIR}/CREACMakeSettings.cmake NO_POLICY_SCOPE)
INCLUDE(${CREA_CMAKE_DIR}/CREAMacros.cmake)
+
CREA_PREVENT_IN_SOURCE_BUILD()
SET(USE_BOOST ON)
MESSAGE(FATAL_ERROR "XERCES_DIR not found")
ELSE(NOT XERCES_LIB_DIR)
- INCLUDE_DIRECTORIES( ${XERCES_LIB_DIR}/src )
- LINK_DIRECTORIES( ${XERCES_LIB_DIR}/Build/Win32/VC9/Debug )
+ INCLUDE_DIRECTORIES( ${XERCES_LIB_DIR}/include )
+ LINK_DIRECTORIES( ${XERCES_LIB_DIR}/lib )
ENDIF(NOT XERCES_LIB_DIR)
IF(USE_DEBUG_LIB)
- set(XERCES_LIBRARIES ${XERCES_LIB_DIR}/Build/Win32/VC9/Debug/xerces-c_3D)
+ set(XERCES_LIBRARIES xerces-c_3D)
ELSE(USE_DEBUG_LIB)
- set(XERCES_LIBRARIES ${XERCES_LIB_DIR}/Build/Win32/VC9/Release/xerces-c_3)
+ set(XERCES_LIBRARIES xerces-c_3)
ENDIF(USE_DEBUG_LIB)
MARK_AS_ADVANCED(XERCES_LIB_DIR)