summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-05-27 06:19:55 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-05-27 06:22:04 +0200
commita8ad3077437e954ab65ba472ea11a4bacd86b8f9 (patch)
tree8f7bd7ca4fb65222b88f814abc87b66d0472769c
parentf01d36f932675b708e9ea3aeda95681abe499da4 (diff)
cmake: set `self' variable in `otr_module'
-rw-r--r--cmake/opentrack-boilerplate.cmake2
1 files changed, 2 insertions, 0 deletions
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} .)