summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-boilerplate.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/opentrack-boilerplate.cmake')
-rw-r--r--cmake/opentrack-boilerplate.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake
index 9393eae4..9ca382e8 100644
--- a/cmake/opentrack-boilerplate.cmake
+++ b/cmake/opentrack-boilerplate.cmake
@@ -199,7 +199,7 @@ function(opentrack_boilerplate n)
if(NOT arg_STATIC)
string(REGEX REPLACE "^opentrack-" "" n_ "${n}")
- string(REGEX REPLACE "^(tracker|filter-proto)-" "" n_ "${n_}")
+ string(REGEX REPLACE "^(tracker|filter|proto)-" "" n_ "${n_}")
string(REPLACE "-" "_" n_ ${n_})
target_compile_definitions(${n} PRIVATE "BUILD_${n_}")