summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-boilerplate.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-09 15:06:04 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-10 03:18:57 +0100
commitbd3370d4ef79ed5e0713a6446889cca6f5a4d5e2 (patch)
tree301e679ccf17e679a3a75d8ae46847a4ace303d3 /cmake/opentrack-boilerplate.cmake
parentaf2dcca279e6fc23c9b1694170cbdfe36b32eb79 (diff)
api, cmake: use the same dynamic library prefix
Diffstat (limited to 'cmake/opentrack-boilerplate.cmake')
-rw-r--r--cmake/opentrack-boilerplate.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake
index 56117e09..e4369452 100644
--- a/cmake/opentrack-boilerplate.cmake
+++ b/cmake/opentrack-boilerplate.cmake
@@ -148,6 +148,7 @@ function(otr_module n_)
set(link-mode STATIC)
endif()
add_library(${n} ${link-mode} "${${n}-all}")
+ set_property(TARGET "${n}" PROPERTY PREFIX "lib")
endif()
set_property(SOURCE ${${n}-moc} ${${n}-uih} ${${n}-rcc} PROPERTY GENERATED TRUE)