Skip to content

Commit

Permalink
Fix build with makefiles AFAIK.
Browse files Browse the repository at this point in the history
  • Loading branch information
rilian-la-te authored May 18, 2017
1 parent f5e0e0d commit 7d40f74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ set(VALA_FILES_CORE
sntray.gresource.xml
)
add_library(sntray-core STATIC ${VALA_C_CORE} $<TARGET_OBJECTS:vala-dbusmenu-o>)
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
Expand Down

0 comments on commit 7d40f74

Please sign in to comment.