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()