append definitions to package flags for core component

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2019-06-24 14:30:23 +00:00
parent 5b6f8aad2a
commit c67c0c6a09

View file

@ -71,7 +71,7 @@ macro(KATIE_GENERATE_PACKAGE FORTARGET REQUIRES)
# all components require the core component
if("${FORTARGET}" STREQUAL "KtCore")
katie_string_wrap("${KATIE_DEFINITIONS}" KATIE_DEFINITIONS)
set(PACKAGE_FLAGS "${KATIE_DEFINITIONS}")
set(PACKAGE_FLAGS "${PACKAGE_FLAGS} ${KATIE_DEFINITIONS}")
endif()
configure_file(
${CMAKE_SOURCE_DIR}/cmake/pkgconfig.cmake