diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2019-07-05 10:17:02 +0200 | 
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-07-05 10:24:19 +0200 | 
| commit | ed38096782a21d82be730f2bdb18a168b97f5f10 (patch) | |
| tree | 81eb0d32126d6fd425c144f8aaf11f5061955af3 | |
| parent | b71acc205681c467b120046a840421329b2bbdda (diff) | |
cmake: use COMPILE_OPTIONS from newer 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 554b1add..614209da 100644 --- a/cmake/opentrack-boilerplate.cmake +++ b/cmake/opentrack-boilerplate.cmake @@ -76,7 +76,7 @@ endfunction()  function(otr_compat target)      if(NOT MSVC) -        set_property(SOURCE ${${target}-moc} APPEND_STRING PROPERTY COMPILE_FLAGS "-w -Wno-error ") +        set_property(SOURCE ${${target}-moc} APPEND PROPERTY COMPILE_OPTIONS "-w;-Wno-error")      endif()      if(UNIX) # no-op on OSX | 
