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:
@@ -273,6 +273,8 @@ if(WIN32)
|
|||||||
#TODO: reenable when sample is fixed
|
#TODO: reenable when sample is fixed
|
||||||
#wx_add_sample(mfc mfctest.cpp mfctest.h resource.h stdafx.h RES mfctest.rc)
|
#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(taskbarbutton DEPENDS wxUSE_TASKBARBUTTON)
|
||||||
wx_add_sample(flash DEPENDS wxUSE_ACTIVEX)
|
if(MSVC)
|
||||||
|
wx_add_sample(flash DEPENDS wxUSE_ACTIVEX)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
Reference in New Issue
Block a user