Generate libpartitionmanagerexport.h
This commit is contained in:
parent
2bf69932d1
commit
5413e696d3
|
@ -37,6 +37,11 @@ target_link_libraries( kpmcore PUBLIC
|
|||
KF5::CoreAddons
|
||||
KF5::WidgetsAddons
|
||||
)
|
||||
generate_export_header(kpmcore
|
||||
BASE_NAME LIBKPMCORE
|
||||
EXPORT_FILE_NAME util/libpartitionmanagerexport.h
|
||||
)
|
||||
list(APPEND UTIL_LIB_HDRS ${CMAKE_CURRENT_BINARY_DIR}/util/libpartitionmanagerexport.h)
|
||||
|
||||
install(TARGETS kpmcore EXPORT KPMcoreTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
|
||||
install(FILES ${CORE_LIB_HDRS} DESTINATION ${INCLUDE_INSTALL_DIR}/kpmcore/core/ COMPONENT Devel)
|
||||
|
|
|
@ -36,7 +36,6 @@ set(UTIL_SRC
|
|||
)
|
||||
|
||||
set(UTIL_LIB_HDRS
|
||||
util/libpartitionmanagerexport.h
|
||||
util/capacity.h
|
||||
util/externalcommand.h
|
||||
util/globallog.h
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
SPDX-FileCopyrightText: 2008 Volker Lanz <vl@fidra.de>
|
||||
SPDX-FileCopyrightText: 2014-2018 Andrius Štikonas <andrius@stikonas.eu>
|
||||
SPDX-FileCopyrightText: 2015 Chris Campbell <c.j.campbell@ed.ac.uk>
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
#ifndef LIBKPMCORE_EXPORT
|
||||
|
||||
#include <QtGlobal>
|
||||
#define LIBKPMCORE_EXPORT Q_DECL_EXPORT
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue