aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts
diff options
context:
space:
mode:
authorRechi <Rechi@users.noreply.github.com>2018-10-10 23:00:00 +0200
committerRechi <Rechi@users.noreply.github.com>2018-10-10 23:00:00 +0200
commit01237aa5c2456718d036dfe89d2b88477ed507c6 (patch)
treef4530e5868f9f473effaf56adf93744456bb4463 /cmake/scripts
parent6acd9d85c93444c69e5e7257230b2fc3de009339 (diff)
[cmake][addons] add addon headers to library
Diffstat (limited to 'cmake/scripts')
-rw-r--r--cmake/scripts/common/AddonHelpers.cmake2
1 files changed, 1 insertions, 1 deletions
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}