Skip to content

Commit

Permalink
setting XercesC_DIR for darwin and linux
Browse files Browse the repository at this point in the history
  • Loading branch information
gitting-around committed Oct 16, 2024
1 parent adfb701 commit 04ae90d
Showing 1 changed file with 2 additions and 2 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")
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")
ENDIF ()
set(THIRD_PARTY_LIBRARIES_ROOT ${THIRD_PARTY_LIBRARIES_ROOT}-${arch})
message("Thirdparty libraries root:")
Expand Down

0 comments on commit 04ae90d

Please sign in to comment.