diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-04-03 12:28:52 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-04-05 03:24:01 +0200 |
commit | 9918192f0943a61e9970bad9f1a02ffbe3af8591 (patch) | |
tree | 7370ea0229100f54755d9f247e0e98e3ab9cab79 /cmake/opentrack-boilerplate.cmake | |
parent | c0165f8b48852a1aca782d606ba4f1ea48eee6ba (diff) |
cmake: cleanup
- OTR_MODULE_NAME now unused
- _USE_MATH_DEFINES only needed for MSVC
- old cruft in i18n support
Diffstat (limited to 'cmake/opentrack-boilerplate.cmake')
-rw-r--r-- | cmake/opentrack-boilerplate.cmake | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake index e4391257..fff1a6c3 100644 --- a/cmake/opentrack-boilerplate.cmake +++ b/cmake/opentrack-boilerplate.cmake @@ -175,7 +175,6 @@ function(otr_module n_) target_link_libraries(${n} opentrack-api opentrack-options opentrack-compat) endif() - target_compile_definitions("${n}" PRIVATE "-DOTR_MODULE_NAME=\"${n_}\"") string(REPLACE "-" "_" build-n ${n_}) string(TOUPPER "${build-n}" build-n) set_property(TARGET ${n} PROPERTY DEFINE_SYMBOL "BUILD_${build-n}") |