OCV_OPTION(ENABLE_SOLUTION_FOLDERS"Solution folder in Visual Studio or in other IDEs"(MSVC_IDEORCMAKE_GENERATORMATCHESXcode)IF(CMAKE_VERSIONVERSION_GREATER"2.8.0"))
OCV_OPTION(ENABLE_PROFILING"Enable profiling in the GCC compiler (Add flags: -g -pg)"OFFIFCMAKE_COMPILER_IS_GNUCXX)
OCV_OPTION(ENABLE_OMIT_FRAME_POINTER"Enable -fomit-frame-pointer for GCC"ONIFCMAKE_COMPILER_IS_GNUCXX)
OCV_OPTION(ENABLE_OMIT_FRAME_POINTER"Enable -fomit-frame-pointer for GCC"ONIFCMAKE_COMPILER_IS_GNUCXXANDNOT(APPLEANDCMAKE_COMPILER_IS_CLANGCXX))
OCV_OPTION(ENABLE_POWERPC"Enable PowerPC for GCC"ONIF(CMAKE_COMPILER_IS_GNUCXXANDCMAKE_SYSTEM_PROCESSORMATCHESpowerpc.*))
OCV_OPTION(ENABLE_FAST_MATH"Enable -ffast-math (not recommended for GCC 4.6.x)"OFFIF(CMAKE_COMPILER_IS_GNUCXXAND(X86ORX86_64)))