]> Creatis software - crea.git/blobdiff - cmake/CREAMacro_wxWidgets.cmake
*** empty log message ***
[crea.git] / cmake / CREAMacro_wxWidgets.cmake
index 765ddf8614eee206bd9323c89336ae9a67d93b79..56bde2df4f2c82413765d96b0fdac277dec0aa2a 100644 (file)
@@ -35,14 +35,12 @@ MACRO(CREA_FIND_WXWIDGETS)
     #MESSAGE("${GTK2_INCLUDE_DIRS}")
     # Can I require all my user to have the gl lib on linux, even if they do not really need it...
     SET(WXGLCANVASLIBS "gl")
-    # GTK2
- #   INCLUDE(${CREA_CMAKE_DIR}/FindGTK2_new.cmake)
-    # WX
-    # LG : Do not force but use what is installed !
-    # SET(wxWidgets_USE_LIBS base core gl)
-    #FIND_PACKAGE( GTK REQUIRED) 
-#    FIND_PACKAGE( wxWidgets REQUIRED) 
-    FIND_PACKAGE(wxWidgets COMPONENTS base core adv ${WXGLCANVASLIBS})
+    # aui ?
+    SET(WXAUILIBS "aui")
+    # LG : These options should be set by the user at top level of crea
+    FIND_PACKAGE(wxWidgets COMPONENTS base core adv 
+      ${WXAUILIBS}
+      ${WXGLCANVASLIBS})
     #
     IF(wxWidgets_FOUND)
       MESSAGE(STATUS "Looking for wxWidgets... found ${wxWidgets_CONFIG_EXECUTABLE}")