mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-18 01:19:45 +08:00
@@ -276,8 +276,14 @@ if(WIN32)
|
||||
|
||||
if(WXMSW)
|
||||
wx_add_sample(nativdlg nativdlg.cpp nativdlg.h resource.h RES nativdlg.rc)
|
||||
#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)
|
||||
|
||||
# only check if MFC is available when the mfc sample is enabled
|
||||
if(wxBUILD_SAMPLES STREQUAL "ALL")
|
||||
find_package(MFC QUIET)
|
||||
if(MFC_FOUND)
|
||||
wx_add_sample(mfc mfctest.cpp mfctest.h resource.h stdafx.h RES mfctest.rc)
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user