CMakeLists.txt 534 B

123456789101112131415
  1. project(konaclient-gtk)
  2. cmake_minimum_required(VERSION 2.8)
  3. #set(CMAKE_BUILD_TYPE Release)
  4. find_package(PkgConfig REQUIRED)
  5. pkg_check_modules(GLIB2 REQUIRED glib-2.0)
  6. pkg_check_modules(GOBJECT2 REQUIRED gobject-2.0)
  7. INCLUDE_DIRECTORIES (${GLIB2_INCLUDE_DIRS} ${GOBJECT2_INCLUDE_DIRS} libkonaclient)
  8. LINK_DIRECTORIES (${GLIB2_LIBRARY_DIRS} ${GOBJECT2_LIBRARY_DIRS})
  9. add_definitions(${GLIB2_CFLAGS_OTHER} ${GOBJECT2_CFLAGS_OTHER})
  10. add_subdirectory(libkonaclient)
  11. add_subdirectory(libkonaclient-test)
  12. add_subdirectory(konaclient-gtk)