From a8ad3077437e954ab65ba472ea11a4bacd86b8f9 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 27 May 2018 06:19:55 +0200 Subject: cmake: set `self' variable in `otr_module' --- cmake/opentrack-boilerplate.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmake/opentrack-boilerplate.cmake') diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake index 1ac6c6e9..694c644d 100644 --- a/cmake/opentrack-boilerplate.cmake +++ b/cmake/opentrack-boilerplate.cmake @@ -125,6 +125,8 @@ function(otr_module n_) endif() set(n "opentrack-${n_}") + # XXX TODO update callers to use instead of long name -sh 20180527 + set(self "${n}" PARENT_SCOPE) if(NOT arg_SUBDIRS) otr_glob_sources(${n} .) -- cgit v1.2.3