3297e5c
diff -r 5abfb4de7961 CMakeLists.txt
3297e5c
--- a/CMakeLists.txt	Sun Jan 21 12:56:33 2018 +0100
3297e5c
+++ b/CMakeLists.txt	Sat Mar 23 11:56:35 2019 +0000
3297e5c
@@ -162,8 +162,7 @@
3297e5c
 ##
ae043e6
 #  This must come before FINDs for tiff, jpeg, png, zlib to enable
ae043e6
 #  finding the wxWidgets distributions of those packages (Win32 only).
3297e5c
-SET(wxWidgets_USE_LIBS base core aui xrc html xml adv gl net qa)
ae043e6
-FIND_PACKAGE(wxWidgets REQUIRED)
3297e5c
+FIND_PACKAGE(wxWidgets REQUIRED base core aui xrc html xml adv gl net qa)
ae043e6
 
ae043e6
 # hugin requires wxwidgets 3.0 or above
ae043e6
 IF (UNIX)