SET( wxWidgets_USE_LIBS base core adv net html xml aui qa )
FIND_PACKAGE( wxWidgets )
FIND_PACKAGE( wxWidgets COMPONENTS base core adv net html xml aui qa REQUIRED )
IF( NOT wxWidgets_FOUND)
MESSAGE( FATAL_ERROR "wxWidgets not found!" )