CMake: only enable flash sample for MSVC

Fixes a regression from 1dfe088b.

See https://github.com/wxWidgets/wxWidgets/pull/974
This commit is contained in:
Maarten 2018-10-10 23:53:38 +02:00 committed by VZ
parent 1a31420e92
commit a36868b391

View File

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