- # Search WXWIDGETS
-
- # WXWINDOWS_LIBRARY = full path to the wxWindows library and linker flags on unix
- # CMAKE_WX_CXX_FLAGS = compiler flags for building wxWindows
- # WXWINDOWS_INCLUDE_PATH = include path of wxWindows
- SET(WXWINDOWS_USE_GL 1)
-
- #wxWidgets build related stuff
- # DO NOT FORCE DEBUG LIBS !!
- SET(WXW_USE_DEBUG OFF)
- SET(WXW_USE_UNICODE OFF)
- SET(WXW_USE_SHARED ON)
- SET(WXW_USE_UNIV OFF)
- SET(WXW_USE_MONO OFF)
- SET(WXW_FILE_VERSION "28")
- SET(WXW_VERSION "2.8")
-
- #CMake Options
- # Why forcing verbosity ?
- # SET(CMAKE_VERBOSE_MAKEFILE TRUE)
-
- INCLUDE (${CREA_CMAKE_DIR}/FindWxWidgetsWin32.cmake)
- #
+# # Search WXWIDGETS
+# # WXWINDOWS_LIBRARY = full path to the wxWindows library and linker flags on unix
+# # CMAKE_WX_CXX_FLAGS = compiler flags for building wxWindows
+# # WXWINDOWS_INCLUDE_PATH = include path of wxWindows
+# SET(WXWINDOWS_USE_GL 1)
+# #wxWidgets build related stuff
+# # DO NOT FORCE DEBUG LIBS !!
+# SET(WXW_USE_DEBUG OFF)
+# SET(WXW_USE_UNICODE OFF)
+# SET(WXW_USE_SHARED ON)
+# SET(WXW_USE_UNIV OFF)
+# SET(WXW_USE_MONO OFF)
+# SET(WXW_FILE_VERSION "28")
+# SET(WXW_VERSION "2.8")
+# #CMake Options
+# # Why forcing verbosity ?
+# # SET(CMAKE_VERBOSE_MAKEFILE TRUE)
+# INCLUDE (${CREA_CMAKE_DIR}/FindWxWidgetsWin32.cmake)
+# #
+
+# find_package(wxwidgets REQUIRED COMPONENTS base core advanced adv html xml aui)
+ find_package(wxwidgets REQUIRED )
+