]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/xalan-c/fix-linux-no-bin.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / xalan-c / fix-linux-no-bin.patch
CommitLineData
1e59de90
TL
1diff --git a/src/xalanc/Utils/CMakeLists.txt b/src/xalanc/Utils/CMakeLists.txt
2index 2d78685..72b611b 100644
3--- a/src/xalanc/Utils/CMakeLists.txt
4+++ b/src/xalanc/Utils/CMakeLists.txt
5@@ -41,11 +41,15 @@ add_custom_target(locale ALL)
6 set_target_properties(locale PROPERTIES FOLDER "Message Library")
7
8 # workaround for case of missing xerces-c dll
9+if(CMAKE_HOST_WIN32)
10 if(EXISTS ${XercesC_INCLUDE_DIR}/../bin)
11 set(MsgCreator_WD $<TARGET_FILE_DIR:XercesC::XercesC>/../bin)
12 else()
13 set(MsgCreator_WD "${XSL_NLS_GEN_DIR}")
14 endif()
15+else()
16+ set(MsgCreator_WD "${PROJECT_BINARY_DIR}")
17+endif()
18
19 if(msgloader STREQUAL "inmemory")
20 add_custom_command(