termux-packages/packages/softether-vpn/src-Cedar-CMakeLists.txt.patch

11 lines
426 B
Diff
Raw Normal View History

2022-01-09 06:19:33 +01:00
--- a/src/Cedar/CMakeLists.txt
+++ b/src/Cedar/CMakeLists.txt
@@ -19,7 +19,6 @@
RUNTIME_OUTPUT_DIRECTORY "${BUILD_DIRECTORY}"
)
-cmake_host_system_information(RESULT HAS_SSE2 QUERY HAS_SSE2)
set(BLAKE2_SRC_PATH $<IF:$<BOOL:${HAS_SSE2}>,${TOP_DIRECTORY}/3rdparty/BLAKE2/sse,${TOP_DIRECTORY}/3rdparty/BLAKE2/ref>)
set(BLAKE2_SRC $<IF:$<BOOL:${HAS_SSE2}>,${BLAKE2_SRC_PATH}/blake2s.c,${BLAKE2_SRC_PATH}/blake2s-ref.c>)