Skip to content

Commit

Permalink
testing xercesc_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
gitting-around committed Oct 16, 2024
1 parent 96909a9 commit 4a5c3eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ if (NOT DEFINED THIRD_PARTY_LIBRARIES_ROOT)
if (UNIX)
if (APPLE)
set(THIRD_PARTY_LIBRARIES_ROOT ${THIRD_PARTY_LIBRARIES_ROOT}/darwin)
set(XercesC_DIR "${CMAKE_CURRENT_SOURCE_DIR}/build/external/darwin-${arch}/lib/cmake")
set(XercesC_DIR "${CMAKE_CURRENT_SOURCE_DIR}/build/external/darwin-${arch}/lib/cmake/XercesC")
set(CMAKE_PREFIX_PATH "${CMAKE_CURRENT_SOURCE_DIR}/build/external/darwin-${arch}/lib/libxerces-c-3.2.a")
ELSE ()
set(THIRD_PARTY_LIBRARIES_ROOT ${THIRD_PARTY_LIBRARIES_ROOT}/linux)
set(XercesC_DIR "${CMAKE_CURRENT_SOURCE_DIR}/build/external/linux-${arch}/lib/cmake")
set(XercesC_DIR "${CMAKE_CURRENT_SOURCE_DIR}/build/external/linux-${arch}/lib/cmake/XercesC")
set(CMAKE_PREFIX_PATH "${CMAKE_CURRENT_SOURCE_DIR}/build/external/linux-${arch}/lib/libxerces-c-3.2.a")
ENDIF ()
set(THIRD_PARTY_LIBRARIES_ROOT ${THIRD_PARTY_LIBRARIES_ROOT}-${arch})
Expand Down
2 changes: 1 addition & 1 deletion rabbitmq-fmu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ include_directories(${gtest_SOURCE_DIR}/include)
#message(path to xercesc is ${xercerc_lib_path})
message("Path for XercesC_DIR is:")
message(${XercesC_DIR})
message("Path for XCMAKE_PREFIX_PATH is:")
message("Path for CMAKE_PREFIX_PATH is:")
message(${CMAKE_PREFIX_PATH})
find_package(XercesC CONFIG PATHS ${THIRD_PARTY_LIBRARIES_ROOT} REQUIRED) # XSD DEPENDS ON ${XERCESC_FOUND}
if (XercesC_FOUND)
Expand Down

0 comments on commit 4a5c3eb

Please sign in to comment.