mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 00:41:37 +08:00
92dc30ff52
* [vcpkg] Check in initial baseline * [vcpkg] Baseline update * [vcpkg] Further baseline updates * [vcpkg] Update baseline * [vcpkg] Update baseline * [vcpkg] Update baseline * [vcpkg] Update baseline * [xalan-c] Fix flaky build for non-Windows hosts
21 lines
663 B
Diff
21 lines
663 B
Diff
diff --git a/src/xalanc/Utils/CMakeLists.txt b/src/xalanc/Utils/CMakeLists.txt
|
|
index 2d78685..72b611b 100644
|
|
--- a/src/xalanc/Utils/CMakeLists.txt
|
|
+++ b/src/xalanc/Utils/CMakeLists.txt
|
|
@@ -41,11 +41,15 @@ add_custom_target(locale ALL)
|
|
set_target_properties(locale PROPERTIES FOLDER "Message Library")
|
|
|
|
# workaround for case of missing xerces-c dll
|
|
+if(CMAKE_HOST_WIN32)
|
|
if(EXISTS ${XercesC_INCLUDE_DIR}/../bin)
|
|
set(MsgCreator_WD $<TARGET_FILE_DIR:XercesC::XercesC>/../bin)
|
|
else()
|
|
set(MsgCreator_WD "${XSL_NLS_GEN_DIR}")
|
|
endif()
|
|
+else()
|
|
+ set(MsgCreator_WD "${PROJECT_BINARY_DIR}")
|
|
+endif()
|
|
|
|
if(msgloader STREQUAL "inmemory")
|
|
add_custom_command(
|