From 01237aa5c2456718d036dfe89d2b88477ed507c6 Mon Sep 17 00:00:00 2001 From: Rechi Date: Wed, 10 Oct 2018 23:00:00 +0200 Subject: [cmake][addons] add addon headers to library --- cmake/scripts/common/AddonHelpers.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake/scripts') diff --git a/cmake/scripts/common/AddonHelpers.cmake b/cmake/scripts/common/AddonHelpers.cmake index 4bb4c98f59..8d515c5695 100644 --- a/cmake/scripts/common/AddonHelpers.cmake +++ b/cmake/scripts/common/AddonHelpers.cmake @@ -153,7 +153,7 @@ macro (build_addon target prefix libs) endif() endforeach() - add_library(${target} ${${prefix}_SOURCES}) + add_library(${target} ${${prefix}_SOURCES} ${${prefix}_HEADERS}) target_link_libraries(${target} ${${libs}}) set_target_properties(${target} PROPERTIES VERSION ${${prefix}_VERSION} SOVERSION ${APP_VERSION_MAJOR}.${APP_VERSION_MINOR} -- cgit v1.2.3