add_executable(lliurex-do main.cpp Core.cpp Dash.cpp Slot.cpp Toolkit.cpp) find_package(PkgConfig REQUIRED) pkg_check_modules(GLIBMM REQUIRED glibmm-2.4) pkg_check_modules(GIOMM REQUIRED giomm-2.4) pkg_check_modules(LGI lgi-1.0) pkg_check_modules(LSF lsf-1.0) pkg_check_modules(WNCK libwnck-3.0) pkg_check_modules(GMENU libgnome-menu-3.0) target_link_libraries(lliurex-do dl ${GLIBMM_LIBRARIES} ${GIOMM_LIBRARIES} ${LGI_LIBRARIES} ${LSF_LIBRARIES} ${WNCK_LIBRARIES} ${GMENU_LIBRARIES}) include_directories(${CMAKE_SOURCE_DIR}/include ${GLIBMM_INCLUDE_DIRS} ${GIOMM_INCLUDE_DIRS} ${LGI_INCLUDE_DIRS} ${LSF_INCLUDE_DIRS} ${WNCK_INCLUDE_DIRS} ${GMENU_INCLUDE_DIRS}) add_definitions(-std=c++11 -g -O0)