From f49ad59af0fb02cb29968960cb6a380649dc07c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 18 Jun 2020 18:38:56 +0200 Subject: kbugbuster: Build only the PIC variant of the static backend library. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This should resolve the occasional FTBFS caused by double generation of the same MOC files. Signed-off-by: Slávek Banko --- kbugbuster/backend/CMakeLists.txt | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'kbugbuster/backend/CMakeLists.txt') diff --git a/kbugbuster/backend/CMakeLists.txt b/kbugbuster/backend/CMakeLists.txt index 64b8ca6b..cb3b83c2 100644 --- a/kbugbuster/backend/CMakeLists.txt +++ b/kbugbuster/backend/CMakeLists.txt @@ -26,12 +26,6 @@ set( SRCS rdfprocessor.cpp htmlparser.cpp kbbprefs.cpp ) -tde_add_library( kbbbackend_nopic STATIC AUTOMOC +tde_add_library( kbbbackend STATIC_PIC AUTOMOC SOURCES ${SRCS} ) - -if( WITH_KCAL ) - tde_add_library( kbbbackend_pic STATIC_PIC AUTOMOC - SOURCES ${SRCS} - ) -endif( ) -- cgit v1.2.1