]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/nsync/fix-install.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / nsync / fix-install.patch
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index 6b1f1dc..328f9b6 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -80,7 +80,7 @@ set (NSYNC_OS_CPP_SRC
6 # https://cmake.org/cmake/help/v3.1/policy/CMP0054.html
7
8 # Pick the include directory for the operating system.
9 -if ("${CMAKE_SYSTEM_NAME}X" STREQUAL "WindowsX")
10 +if ("${CMAKE_SYSTEM_NAME}X" STREQUAL "WindowsX" OR "${CMAKE_SYSTEM_NAME}X" STREQUAL "WindowsStoreX")
11 include_directories ("${PROJECT_SOURCE_DIR}/platform/win32")
12 set (NSYNC_CPP_FLAGS "/TP")
13
14 @@ -230,7 +230,7 @@ elseif (("${CMAKE_SYSTEM_PROCESSOR}X" STREQUAL "ppc64X"))
15 endif ()
16
17 # Windows uses some include files from the posix directory also.
18 -if ("${CMAKE_SYSTEM_NAME}X" STREQUAL "WindowsX")
19 +if ("${CMAKE_SYSTEM_NAME}X" STREQUAL "WindowsX" OR "${CMAKE_SYSTEM_NAME}X" STREQUAL "WindowsStoreX")
20 include_directories ("${PROJECT_SOURCE_DIR}/platform/posix")
21 endif ()
22
23 @@ -396,7 +396,8 @@ if (NSYNC_ENABLE_TESTS)
24 endforeach (t)
25 endif ()
26
27 -set (CMAKE_SKIP_INSTALL_ALL_DEPENDENCY ON)
28 +# By default, install nsync always
29 +# set (CMAKE_SKIP_INSTALL_ALL_DEPENDENCY ON)
30
31 install (TARGETS nsync
32 LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT RuntimeLibraries