diff options
author | Stanisław Halik <sthalik@misaki.pl> | 2017-05-14 16:22:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-14 16:22:17 +0200 |
commit | ca6c7988b7cf5d11080d72f344087492526f7cdc (patch) | |
tree | e6497e9b55c073be209ec673ef05e62bf57a2c8f | |
parent | c392181211b245e74292424500265323c960c1aa (diff) | |
parent | 5c23666b58bb1dd4aea15c0d62a2f716d5be7f52 (diff) |
Merge pull request #617 from miniskipper/unstable
fix linux build
-rw-r--r-- | cmake/opentrack-boilerplate.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake index 821de1ba..3c5bd90a 100644 --- a/cmake/opentrack-boilerplate.cmake +++ b/cmake/opentrack-boilerplate.cmake @@ -87,8 +87,8 @@ function(otr_compat target) get_property(linker-lang TARGET ${target} PROPERTY LINKER_LANGUAGE) if(CMAKE_COMPILER_IS_GNUCXX) - set(c-props "-fvisibility=hidden") - if(NOT ".${linker-lang}" STREQUAL ".C") + set(c-props " -fvisibility=hidden") + if(NOT is-c-only) set(c-props "${c-props} -fuse-cxa-atexit") endif() endif() |