diff options
Diffstat (limited to 'cmake/opentrack-version.cmake')
-rw-r--r-- | cmake/opentrack-version.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/opentrack-version.cmake b/cmake/opentrack-version.cmake index ca6c70f6..0ff516f2 100644 --- a/cmake/opentrack-version.cmake +++ b/cmake/opentrack-version.cmake @@ -32,5 +32,5 @@ endif() add_library(opentrack-version STATIC "${file}") if(NOT MSVC) - set_property(TARGET opentrack-version APPEND_STRING PROPERTY COMPILE_FLAGS "-fno-lto ") + target_compile_options(opentrack-version PRIVATE -fno-lto) endif() |