From a36868b391c79137d39720b276ee55f5dafeeec4 Mon Sep 17 00:00:00 2001 From: Maarten Date: Wed, 10 Oct 2018 23:53:38 +0200 Subject: [PATCH] CMake: only enable flash sample for MSVC Fixes a regression from 1dfe088b. See https://github.com/wxWidgets/wxWidgets/pull/974 --- build/cmake/samples/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/cmake/samples/CMakeLists.txt b/build/cmake/samples/CMakeLists.txt index 09a299ffbd..47230283ba 100644 --- a/build/cmake/samples/CMakeLists.txt +++ b/build/cmake/samples/CMakeLists.txt @@ -273,6 +273,8 @@ if(WIN32) #TODO: reenable when sample is fixed #wx_add_sample(mfc mfctest.cpp mfctest.h resource.h stdafx.h RES mfctest.rc) wx_add_sample(taskbarbutton DEPENDS wxUSE_TASKBARBUTTON) - wx_add_sample(flash DEPENDS wxUSE_ACTIVEX) + if(MSVC) + wx_add_sample(flash DEPENDS wxUSE_ACTIVEX) + endif() endif() endif()