diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-05-07 11:14:45 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-05-10 11:19:22 +0200 |
commit | ae2ced1284d3364c3f061044de377cfc624ca02e (patch) | |
tree | 01d25a03f5f78267a7923cd922fa54575d298482 /cmake/opentrack-boilerplate.cmake | |
parent | f8b3c341164fdb336eea43a820af814cff5b6485 (diff) |
cmake: fix var expansion for older cmake versions
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 7a88e6ef..35ef1d22 100644 --- a/cmake/opentrack-boilerplate.cmake +++ b/cmake/opentrack-boilerplate.cmake @@ -88,7 +88,7 @@ function(otr_compat target) if(CMAKE_COMPILER_IS_GNUCXX) set(c-props "-fvisibility=hidden") - if(NOT linker-lang STREQUAL "C") + if(NOT ".${linker-lang}" STREQUAL ".C") set(c-props "${c-props} -fuse-cxa-atexit") endif() endif() |