DigitalInBlue / Celero

C++ Benchmark Authoring Library/Framework
Other
824 stars 95 forks source link

Celero should use target_compile_options. #108

Closed ASxa86 closed 7 years ago

ASxa86 commented 7 years ago

When including celero as a CMake sub-project its compile options gets appended to my current project's compile options. In order to keep celero's compile options to itself and to prevent continuous appending to the CMAKE_CXX_FLAGS variable, use target_compile_options.