vcpkg/ports/libssh/0003-no-source-write.patch

16 lines
595 B
Diff

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 "********************************************")