aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libssh/0003-no-source-write.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/libssh/0003-no-source-write.patch')
-rw-r--r--vcpkg/ports/libssh/0003-no-source-write.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/libssh/0003-no-source-write.patch b/vcpkg/ports/libssh/0003-no-source-write.patch
new file mode 100644
index 0000000..55db9b0
--- /dev/null
+++ b/vcpkg/ports/libssh/0003-no-source-write.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index e97c900..0b676dc 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -213,9 +213,7 @@ add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source DEPENDS ${_S
+ get_directory_property(hasParent PARENT_DIRECTORY)
+ if(NOT(hasParent))
+ # Link compile database for clangd if we are the master project
+- execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink
+- "${CMAKE_BINARY_DIR}/compile_commands.json"
+- "${CMAKE_SOURCE_DIR}/compile_commands.json")
++
+ endif()
+
+ message(STATUS "********************************************")