Merge pull request #1361 from asmorkalov:winrt_api_container

pull/1367/merge
Roman Donchenko 11 years ago committed by OpenCV Buildbot
commit 53818f0f5f
  1. 3
      cmake/OpenCVCRTLinkage.cmake

@ -36,6 +36,9 @@ endif()
if (HAVE_WINRT)
add_definitions(/DWINVER=0x0602 /DNTDDI_VERSION=NTDDI_WIN8 /D_WIN32_WINNT=0x0602)
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /appcontainer")
set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} /appcontainer")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /appcontainer")
endif()
if(NOT BUILD_SHARED_LIBS AND BUILD_WITH_STATIC_CRT)

Loading…
Cancel
Save