summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-03-22 07:29:19 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-03-22 07:29:19 +0100
commitd55fbcc22be4c7be23af3e06fcbd04c43b50b988 (patch)
tree1faa6f3b0e939ae350b3356a50f6aa19b74541ed
parent2d7a4180d3daded26e11db74024dd2fddd760a5b (diff)
cmake: don't remove module type from define
-rw-r--r--cmake/opentrack-boilerplate.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake
index 03c090f3..58c07d1e 100644
--- a/cmake/opentrack-boilerplate.cmake
+++ b/cmake/opentrack-boilerplate.cmake
@@ -175,7 +175,6 @@ function(opentrack_boilerplate n)
if(NOT arg_STATIC)
string(REGEX REPLACE "^opentrack-" "" n_ "${n}")
- string(REGEX REPLACE "^(tracker|filter|proto)-" "" n_ "${n_}")
string(REPLACE "-" "_" n_ ${n_})
target_compile_definitions(${n} PRIVATE "BUILD_${n_}")