pineapple-src/externals/vcpkg/ports/libmariadb/disable-test-build.patch

19 lines
596 B
Diff
Raw Normal View History

2022-07-23 03:01:36 +02:00
diff --git a/unittest/libmariadb/CMakeLists.txt b/unittest/libmariadb/CMakeLists.txt
index e3ba18b..48c4f1d 100644
--- a/unittest/libmariadb/CMakeLists.txt
+++ b/unittest/libmariadb/CMakeLists.txt
@@ -48,6 +48,7 @@ ENDIF()
ADD_LIBRARY(ma_getopt ma_getopt.c)
+if(0)
FOREACH(API_TEST ${API_TESTS})
IF (NOT TARGET ${API_TEST})
ADD_EXECUTABLE(${API_TEST} ${API_TEST}.c)
@@ -65,3 +66,4 @@ FOREACH(API_TEST ${MANUAL_TESTS})
ADD_EXECUTABLE(${API_TEST} ${API_TEST}.c)
TARGET_LINK_LIBRARIES(${API_TEST} cctap ma_getopt mariadbclient)
ENDFOREACH()
+endif()
\ No newline at end of file