summaryrefslogtreecommitdiffstats
path: root/cmake/modules/template_export_library.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/template_export_library.cmake')
-rw-r--r--cmake/modules/template_export_library.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/modules/template_export_library.cmake b/cmake/modules/template_export_library.cmake
new file mode 100644
index 0000000..4d6cb3f
--- /dev/null
+++ b/cmake/modules/template_export_library.cmake
@@ -0,0 +1,7 @@
+add_library( @_target@ @_type@ IMPORTED )
+
+set_target_properties( @_target@ PROPERTIES
+ IMPORTED_LINK_INTERFACE_LIBRARIES "@_shared_libs@"
+ IMPORTED_LOCATION "@_location@"
+ IMPORTED_SONAME "@_soname@" )
+