diff --git a/src/interfaces/tests/CMakeLists.txt b/src/interfaces/tests/CMakeLists.txt index c0d717b5..c7e9f3e0 100644 --- a/src/interfaces/tests/CMakeLists.txt +++ b/src/interfaces/tests/CMakeLists.txt @@ -1,5 +1,9 @@ set(INTERFACES_UTEST_NAME "interfaces_utest") set(UTILS_MEMORY_LIBRARY_NAME "utils_memory") +set( + INTERFACES_UTEST_LINKER_OPTIONS + #"-Wl,--wrap=foo" +) add_executable( ${INTERFACES_UTEST_NAME} @@ -15,6 +19,10 @@ add_library( STATIC ${CMAKE_SOURCE_DIR}/src/utils/memory.c ) +target_link_options( + ${INTERFACES_UTEST_NAME} + PRIVATE ${INTERFACES_UTEST_LINKER_OPTIONS} +) target_link_libraries( ${INTERFACES_UTEST_NAME}