From 2a697011e9f49d1b394665cf956a2fdf4bb88100 Mon Sep 17 00:00:00 2001 From: Guy Courbebaisse Date: Mon, 10 Jan 2011 14:37:02 +0000 Subject: [PATCH] change macro crea for xerces in linux --- cmake/CREAMacro_FindAndUseLibraries.cmake | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmake/CREAMacro_FindAndUseLibraries.cmake b/cmake/CREAMacro_FindAndUseLibraries.cmake index 2d030ab..ba9f334 100644 --- a/cmake/CREAMacro_FindAndUseLibraries.cmake +++ b/cmake/CREAMacro_FindAndUseLibraries.cmake @@ -370,8 +370,9 @@ IF(USE_XERCES) SET(XERCES_LIBRARIES xerces-c ) INCLUDE_DIRECTORIES( /opt/local/include ) LINK_DIRECTORIES( /opt/local/lib ) - ELSEIF(APPLE) - SET(XERCES_LIBRARIES libxerces-c.so ) +#JCP 10/01/11 + ELSE(NOT APPLE) + SET(XERCES_LIBRARIES xerces-c ) INCLUDE_DIRECTORIES( /usr/local/include ) LINK_DIRECTORIES( /usr/local/lib /usr/lib) #FIND_PACKAGE(Xerces) -- 2.47.1