diff options
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() |