Commit 7aa69276 authored by Gautier Pelloux-Prayer's avatar Gautier Pelloux-Prayer
Browse files

Fix pkgconfig for tester

parent 9129d031
......@@ -85,9 +85,7 @@ if(ENABLE_TESTS)
check_symbol_exists("CU_set_trace_handler" "CUnit/Util.h" HAVE_CU_SET_TRACE_HANDLER)
cmake_pop_check_state()
get_filename_component(cunit_library_path "${CUNIT_LIBRARIES}" PATH)
set(TESTER_LIBS_PRIVATE "-L${cunit_library_path} -lcunit")
set(TESTER_REQUIRES_PRIVATE "cunit")
else()
message(WARNING "Could not find the cunit library!")
endif()
......
......@@ -3,8 +3,7 @@ prefix=@CMAKE_INSTALL_PREFIX@
Name: bctoolbox-tester
Description: A common set of tester wrappers used by Belledonne Communications's softwares
Requires.private: @REQUIRES_PRIVATE@
Requires.private: @TESTER_REQUIRES_PRIVATE@
Version: @PROJECT_VERSION@
Libs: -L@CMAKE_INSTALL_FULL_LIBDIR@ -lbctoolbox-tester
Libs.private: @TESTER_LIBS_PRIVATE@
Cflags: -I@CMAKE_INSTALL_FULL_INCLUDEDIR@
......@@ -3,7 +3,6 @@ prefix=@CMAKE_INSTALL_PREFIX@
Name: @PROJECT_NAME@
Description: A common set of tools used by Belledonne Communications's softwares
Requires.private: @REQUIRES_PRIVATE@
Version: @PROJECT_VERSION@
Libs: -L@CMAKE_INSTALL_FULL_LIBDIR@ -lbctoolbox
Libs.private: @LIBS_PRIVATE@
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment