From d55fbcc22be4c7be23af3e06fcbd04c43b50b988 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 22 Mar 2017 07:29:19 +0100 Subject: cmake: don't remove module type from define --- cmake/opentrack-boilerplate.cmake | 1 - 1 file changed, 1 deletion(-) 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_}") -- cgit v1.2.3