summaryrefslogtreecommitdiff
blob: 69a6e8b673a8e0900717db6b9041ac1a4b9ba91a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e46d921..13e4ffa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -32,7 +32,7 @@ SET( SEARCH_LIBS
 
 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!" )