From 201f28c7e332bc0cb37a80f4ffff0d473d24455a Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Wed, 27 May 2020 12:12:08 +0200 Subject: Skip d3d rendercontrol example on MinGW We will not invest into adding workarounds in the example code as the boilerplate to keep such unofficial environments working is not worth the effort and compromises readability in example code. Just skip building on MinGW. Change-Id: If33bd0382f8cab4713ad45fcaa126830e9760af3 Reviewed-by: Liang Qi --- examples/quick/rendercontrol/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'examples/quick/rendercontrol/CMakeLists.txt') diff --git a/examples/quick/rendercontrol/CMakeLists.txt b/examples/quick/rendercontrol/CMakeLists.txt index bfcd71de24..53924b33ce 100644 --- a/examples/quick/rendercontrol/CMakeLists.txt +++ b/examples/quick/rendercontrol/CMakeLists.txt @@ -1,3 +1,6 @@ # Generated from rendercontrol.pro. add_subdirectory(rendercontrol_opengl) +if(WIN32 AND NOT MINGW) + add_subdirectory(rendercontrol_d3d11) +endif() -- cgit v1.2.3