# CMake 2.6:
# technically those packages are not required
# since one can still use the Motif/X11 version and not the gtk one:
- FIND_PACKAGE(PkgConfig)
- pkg_check_modules (GTK2 gtk+-2.0)
+ FIND_PACKAGE(PkgConfig REQUIRED)
+
+## pkg_check_modules (GTK2 gtk+-2.0)
+## pkg_check_modules (GTK322 gtk+-3.0)
+ pkg_check_modules (GTK3 REQUIRED gtk+-3.0)
+
#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...
#EED SET(WXGLCANVASLIBS "gl")
optimized msvcprt
)
ELSE(WIN32)
- # GTK2
- INCLUDE_DIRECTORIES(${GTK2_INCLUDE_DIRS})
- LINK_DIRECTORIES(${GTK2_LIBRARY_DIRS})
- LINK_LIBRARIES(${GTK2_LIBRARIES})
+## # GTK2
+## INCLUDE_DIRECTORIES(${GTK2_INCLUDE_DIRS})
+## LINK_DIRECTORIES(${GTK2_LIBRARY_DIRS})
+## LINK_LIBRARIES(${GTK2_LIBRARIES})
+ # GTK3
+ INCLUDE_DIRECTORIES(${GTK3_INCLUDE_DIRS})
+ LINK_DIRECTORIES(${GTK3_LIBRARY_DIRS})
+ LINK_LIBRARIES(${GTK3_LIBRARIES})
# WX