Skip to content

Commit 2d74808

Browse files
Merge pull request #545 from ldorau/Link_the_init_teardown_test_with_libdl
Link the init_teardown test with libdl
2 parents 5453804 + aa3fad9 commit 2d74808

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,10 @@ endif()
295295
if(LINUX
296296
AND UMF_BUILD_SHARED_LIBRARY
297297
AND UMF_POOL_SCALABLE_ENABLED)
298-
add_umf_test(NAME init_teardown SRCS test_init_teardown.c)
298+
add_umf_test(
299+
NAME init_teardown
300+
SRCS test_init_teardown.c
301+
LIBS dl)
299302
# append LD_LIBRARY_PATH to the libumf
300303
set_property(
301304
TEST umf-init_teardown

0 commit comments

Comments
 (0)