aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libhydrogen/remove-tests.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libhydrogen/remove-tests.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/libhydrogen/remove-tests.patch')
-rw-r--r--vcpkg/ports/libhydrogen/remove-tests.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/vcpkg/ports/libhydrogen/remove-tests.patch b/vcpkg/ports/libhydrogen/remove-tests.patch
new file mode 100644
index 0000000..399e883
--- /dev/null
+++ b/vcpkg/ports/libhydrogen/remove-tests.patch
@@ -0,0 +1,30 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -139,12 +139,13 @@
+ # Tests
+
+ set(tests_executable "${PROJECT_NAME}-tests")
+ set(tests_run_target "${PROJECT_NAME}-run-tests")
+ set(tests_run_file "${PROJECT_BINARY_DIR}/${tests_run_target}.done")
+
++if(0)
+ enable_testing()
+ add_executable("${tests_executable}" ${test_files})
+ target_compile_options("${tests_executable}" PRIVATE ${compile_options})
+ target_link_libraries("${tests_executable}" "${PROJECT_NAME}")
+ add_test(NAME "${tests_executable}" COMMAND "${tests_executable}")
+
+@@ -166,12 +167,13 @@
+ COMMAND "${CMAKE_COMMAND}"
+ ARGS -E touch "${tests_run_file}"
+ WORKING_DIRECTORY "${PROJECT_BINARY_DIR}"
+ VERBATIM)
+ add_custom_target("${tests_run_target}" ALL DEPENDS "${tests_run_file}" VERBATIM)
+ endif()
++endif()
+
+ # Generate Arduino package
+
+ set(arduino_package_file "${PROJECT_BINARY_DIR}/hydrogen-crypto.zip")
+
+ # Use the relative versions of the file path lists or else the full paths will end up in the