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.cmake7
1 files changed, 1 insertions, 6 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake
index b7a5e295..0214b5ef 100644
--- a/cmake/opentrack-boilerplate.cmake
+++ b/cmake/opentrack-boilerplate.cmake
@@ -194,12 +194,7 @@ function(otr_module n_)
string(REPLACE "-" "_" build-n ${n_})
string(TOUPPER "${build-n}" build-n)
target_compile_definitions(${n} PRIVATE "BUILD_${build-n}")
-
- get_property(ident GLOBAL PROPERTY opentrack-ident)
- if (".${ident}" STREQUAL ".")
- message(FATAL_ERROR "must set global property `opentrack-ident' in `opentrack-variant.cmake'")
- endif()
- target_compile_definitions(${n} PRIVATE OPENTRACK_ORG=\"${ident}\")
+ include(opentrack-org)
if(arg_STATIC)
set(arg_NO-INSTALL TRUE)