cmake-precompiled-header icon indicating copy to clipboard operation
cmake-precompiled-header copied to clipboard

Not all flags are getting grabbed.

Open Zerophase opened this issue 8 years ago • 2 comments

setting 'CMAKE_CXX_STANDARD' is not being applied to the compiler flags. It causes compilation to fail when using c++11 or greater features.

Zerophase avatar Apr 11 '17 17:04 Zerophase

you need to port this: https://github.com/opencv/opencv/pull/10604

paroj avatar Jan 17 '18 16:01 paroj

just set add_compile_options(-std=c++11)

bubnikv avatar Oct 29 '18 16:10 bubnikv