From 7d40f74c4dca0459e53870d7e9a9f736e29f82d9 Mon Sep 17 00:00:00 2001 From: Konstantin Date: Thu, 18 May 2017 23:15:29 +0700 Subject: [PATCH] Fix build with makefiles AFAIK. --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0a2dc14..acafc10 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -37,8 +37,8 @@ set(VALA_FILES_CORE sntray.gresource.xml ) add_library(sntray-core STATIC ${VALA_C_CORE} $) -target_include_directories(sntray-core PRIVATE ${CORE_INCLUDE_DIRS} ${CMAKE_CURRENT_BINARY_DIR}/dbusmenu) -target_link_libraries (sntray-core ${CORE_LIBRARIES} m) +target_include_directories(sntray-core PRIVATE ${GTK+_INCLUDE_DIRS} ${CMAKE_CURRENT_BINARY_DIR}/dbusmenu) +target_link_libraries (sntray-core ${GTK+_LIBRARIES} m) add_custom_target(sntray-core-ide SOURCES ${VALA_FILES_DBUSMENU} ${VALA_FILES_CORE}) ################# # Xfce Panel part