aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/continuable/fix-cmakelists.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/continuable/fix-cmakelists.patch')
-rw-r--r--vcpkg/ports/continuable/fix-cmakelists.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/vcpkg/ports/continuable/fix-cmakelists.patch b/vcpkg/ports/continuable/fix-cmakelists.patch
new file mode 100644
index 0000000..5d619e8
--- /dev/null
+++ b/vcpkg/ports/continuable/fix-cmakelists.patch
@@ -0,0 +1,24 @@
+Index: 4.2.0-0b164f3722.clean/CMakeLists.txt
+===================================================================
+--- 4.2.0-0b164f3722.clean.orig/CMakeLists.txt
++++ 4.2.0-0b164f3722.clean/CMakeLists.txt
+@@ -82,7 +82,7 @@ if(NOT TARGET Threads::Threads)
+ find_package(Threads REQUIRED)
+ endif()
+
+-if(CTI_CONTINUABLE_IS_TOP_LEVEL_PROJECT)
++if(false)
+ include(cmake/CMakeLists.txt)
+ add_subdirectory(dep)
+ else()
+@@ -168,8 +168,8 @@ if(CTI_CONTINUABLE_WITH_INSTALL)
+ # Create an install target: Headers and license files
+ install(DIRECTORY "${PROJECT_SOURCE_DIR}/include/continuable"
+ DESTINATION "include")
+- install(FILES "LICENSE.txt" DESTINATION .)
+- install(FILES "Readme.md" DESTINATION .)
++ install(FILES "LICENSE.txt" DESTINATION share/${PROJECT_NAME} RENAME copyright)
++ install(FILES "Readme.md" DESTINATION share/${PROJECT_NAME})
+
+ # Config.cmake
+ write_basic_package_version_file(