From c8dd5f0375992654814451591e97c0bab937f1a9 Mon Sep 17 00:00:00 2001 From: Manuel Bentele Date: Mon, 26 Oct 2020 11:20:41 +0100 Subject: Remove static generation of LTP configuration header This patch removes the static generation of the LTP configuration header done by CMake. The static generation is replaced with a fixed header (no CMake template anymore) which includes the dynamic generated xloop version header to define version number macros for LTP. --- src/kernel/tests/lib/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/kernel/tests/lib/CMakeLists.txt') diff --git a/src/kernel/tests/lib/CMakeLists.txt b/src/kernel/tests/lib/CMakeLists.txt index 0ce8982..5b3f421 100644 --- a/src/kernel/tests/lib/CMakeLists.txt +++ b/src/kernel/tests/lib/CMakeLists.txt @@ -68,3 +68,4 @@ add_library(libltp STATIC ${CMAKE_CURRENT_SOURCE_DIR}/cloner.c ${CMAKE_CURRENT_SOURCE_DIR}/tst_wallclock.c) target_include_directories(libltp PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) target_compile_options(libltp PUBLIC "-Wno-deprecated-declarations") +target_link_libraries(libltp LINK_PUBLIC xloop-version) -- cgit v1.2.3-55-g7522