Salome HOME
Porting SimanIO library on WIN32 platform.
[tools/simanio.git] / CMakeModules / FindWSO2.cmake
index 9ad51509ff56e30b6ac31ef09417780d29816db7..b3e855964118f119f5f43f0f65a20d369d09a3d9 100644 (file)
@@ -51,8 +51,14 @@ FIND_LIBRARY(WSO2_LIBRARY_axutil            NAMES axutil)
 FIND_LIBRARY(WSO2_LIBRARY_guththila         NAMES guththila)
 FIND_LIBRARY(WSO2_LIBRARY_neethi            NAMES neethi)
 FIND_LIBRARY(WSO2_LIBRARY_axis2_parser      NAMES axis2_parser)
+
+IF(WIN32)
+  FIND_LIBRARY(WSO2_LIBRARY_axis2_axiom       NAMES axiom)
+ELSE()
 FIND_LIBRARY(WSO2_LIBRARY_axis2_axiom       NAMES axis2_axiom)
 FIND_LIBRARY(WSO2_LIBRARY_axis2_http_common NAMES axis2_http_common)
+ENDIF()
+
 FIND_LIBRARY(WSO2_LIBRARY_axis2_engine      NAMES axis2_engine)
 FIND_LIBRARY(WSO2_LIBRARY_wso2_wsf          NAMES wso2_wsf)
 
@@ -62,7 +68,11 @@ SET(WSO2_LIBRARIES ${WSO2_LIBRARIES} ${WSO2_LIBRARY_guththila})
 SET(WSO2_LIBRARIES ${WSO2_LIBRARIES} ${WSO2_LIBRARY_neethi})
 SET(WSO2_LIBRARIES ${WSO2_LIBRARIES} ${WSO2_LIBRARY_axis2_parser})
 SET(WSO2_LIBRARIES ${WSO2_LIBRARIES} ${WSO2_LIBRARY_axis2_axiom})
+
+IF(NOT WIN32)
 SET(WSO2_LIBRARIES ${WSO2_LIBRARIES} ${WSO2_LIBRARY_axis2_http_common})
+ENDIF()
+
 SET(WSO2_LIBRARIES ${WSO2_LIBRARIES} ${WSO2_LIBRARY_axis2_engine})     
 SET(WSO2_LIBRARIES ${WSO2_LIBRARIES} ${WSO2_LIBRARY_wso2_wsf})