aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt2
-rw-r--r--tests/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index d7b73b9..91dc99a 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -156,7 +156,7 @@ if(NOT CMAKE_HOST_WIN32)
156 if(HAVE_MEMMEM) 156 if(HAVE_MEMMEM)
157 add_executable(explicit_bzero explicit_bzero.c) 157 add_executable(explicit_bzero explicit_bzero.c)
158 else() 158 else()
159 add_executable(explicit_bzero explicit_bzero.c memmem.c) 159 add_executable(explicit_bzero explicit_bzero.c compat/memmem.c)
160 endif() 160 endif()
161 target_link_libraries(explicit_bzero ${TESTS_LIBS}) 161 target_link_libraries(explicit_bzero ${TESTS_LIBS})
162 add_test(explicit_bzero explicit_bzero) 162 add_test(explicit_bzero explicit_bzero)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index cfa5043..7c61203 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -163,7 +163,7 @@ TESTS += explicit_bzero
163check_PROGRAMS += explicit_bzero 163check_PROGRAMS += explicit_bzero
164explicit_bzero_SOURCES = explicit_bzero.c 164explicit_bzero_SOURCES = explicit_bzero.c
165if !HAVE_MEMMEM 165if !HAVE_MEMMEM
166explicit_bzero_SOURCES += memmem.c 166explicit_bzero_SOURCES += compat/memmem.c
167endif 167endif
168endif 168endif
169endif 169endif