]> Creatis software - bbtk.git/blobdiff - kernel/cmake/BBTKWxWidgets.cmake
Modified GTK2 find mecanism for cmake > 2.4
[bbtk.git] / kernel / cmake / BBTKWxWidgets.cmake
index 84aeea8f4fe2a695b6d2738170321678f328ff4a..e1045903df49263053e6bb911d90eea149989e1d 100644 (file)
@@ -33,6 +33,9 @@ MACRO(BBTK_FIND_WXWIDGETS)
     # WX
     # LG : Do not force but use what is installed !
     # SET(wxWidgets_USE_LIBS base core gl)
+    # Can I require all my user to have the gl lib on linux, even if they do not really need it...
+    SET(WXGLCANVASLIBS "gl")
+
     FIND_PACKAGE( wxWidgets REQUIRED) 
     #
     IF(wxWidgets_FOUND)