diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-07-05 10:17:28 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-07-05 10:24:19 +0200 |
commit | ddad328eca747306e594b74db9118085021b20b2 (patch) | |
tree | 552b9b7f018ca22b3aeddf82e76e1fb1cea8b01b /cmake | |
parent | b1b666a210aa8947cf2ad760160538af951922a1 (diff) |
cmake: use `add_compile_options'
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/opentrack-platform.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/opentrack-platform.cmake b/cmake/opentrack-platform.cmake index 04b220f6..dae934e1 100644 --- a/cmake/opentrack-platform.cmake +++ b/cmake/opentrack-platform.cmake @@ -92,7 +92,7 @@ IF(CMAKE_SYSTEM_NAME STREQUAL "Linux") endif() if(CMAKE_COMPILER_IS_GNUCXX AND NOT APPLE) - set(CMAKE_CXX_FLAGS "-fuse-cxa-atexit ${CMAKE_CXX_FLAGS}") + add_compile_options(-fuse-cxa-atexit) if(LINUX) # assume binutils add_link_options(-Wl,--exclude-libs,ALL) |