diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-06-19 17:22:28 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-06-19 17:22:28 +0200 |
commit | dcb317150e34f8e5706c89d7774353ba1e8dd83e (patch) | |
tree | 10cbeb37061250e5c6477dd34b02bbdcb0dcbdff /cmake/opentrack-boilerplate.cmake | |
parent | 897c429175624964dded5daa8ce077b45a7a5107 (diff) |
cmake: use DEFINE_SYMBOL target property rather than NIH
Diffstat (limited to 'cmake/opentrack-boilerplate.cmake')
-rw-r--r-- | cmake/opentrack-boilerplate.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake index d9b011ee..9acf88db 100644 --- a/cmake/opentrack-boilerplate.cmake +++ b/cmake/opentrack-boilerplate.cmake @@ -182,7 +182,7 @@ function(otr_module n_) string(REPLACE "-" "_" build-n ${n_}) string(TOUPPER "${build-n}" build-n) - target_compile_definitions(${n} PRIVATE "BUILD_${build-n}") + set_property(TARGET ${n} PROPERTY DEFINE_SYMBOL "BUILD_${build-n}") if(arg_STATIC) set(arg_NO-INSTALL TRUE) |