cmake: update initialization

This commit is contained in:
Alexander Alekhin
2019-07-18 13:22:02 +03:00
parent 32da0705cf
commit 5ef548a985
18 changed files with 101 additions and 96 deletions

View File

@@ -280,11 +280,6 @@ if(MSVC)
endif()
endif()
# Adding additional using directory for WindowsPhone 8.0 to get Windows.winmd properly
if(WINRT_PHONE AND WINRT_8_0)
set(OPENCV_EXTRA_CXX_FLAGS "${OPENCV_EXTRA_CXX_FLAGS} /AI\$(WindowsSDK_MetadataPath)")
endif()
include(cmake/OpenCVCompilerOptimizations.cmake)
if(COMMAND ocv_compiler_optimization_options)
ocv_compiler_optimization_options()