X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=kernel%2Fcmake%2FBBTKWxWidgets.cmake;h=e1045903df49263053e6bb911d90eea149989e1d;hb=3ad62c24e0e183cd68aa9ef19321bd88b60cda05;hp=94be3b283ff4ba9a2896644e2b811fea7f19673c;hpb=4b6378ebef2d7d8e891f956a6c557a5c9e51b075;p=bbtk.git diff --git a/kernel/cmake/BBTKWxWidgets.cmake b/kernel/cmake/BBTKWxWidgets.cmake index 94be3b2..e104590 100644 --- a/kernel/cmake/BBTKWxWidgets.cmake +++ b/kernel/cmake/BBTKWxWidgets.cmake @@ -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) @@ -61,6 +64,7 @@ MACRO(BBTK_USE_WXWIDGETS) LINK_DIRECTORIES( ${WXWIDGETS_LINK_DIRECTORIES} ) SET(BBTK_WXWIDGETS_LIBRARIES ${WXWIDGETS_LIBRARIES} + ${WXWIDGETS_LIBRARIES} wxmsw28d_aui debug msvcrtd debug msvcprtd optimized msvcrt