Skip to content

Commit

Permalink
Link with CMath
Browse files Browse the repository at this point in the history
  • Loading branch information
rilian-la-te committed Apr 25, 2015
1 parent 685d592 commit b88b51f
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 @@ -91,7 +91,7 @@ if (ENABLE_XFCE)
)
add_dependencies(sntray-xfce sntray-core)
include_directories(${GTK+_INCLUDE_DIRS} ${XFCE_INCLUDE_DIRS})
target_link_libraries(sntray-xfce ${GTK+_LIBRARIES} ${XFCE_LIBRARIES})
target_link_libraries(sntray-xfce ${GTK+_LIBRARIES} ${XFCE_LIBRARIES} -lm)

# Install plugin stuffs
install(TARGETS sntray-xfce DESTINATION ${CMAKE_INSTALL_LIBDIR}/xfce4/panel/plugins)
Expand Down Expand Up @@ -123,7 +123,7 @@ if (ENABLE_VALAPANEL)
)
add_dependencies(sntray-valapanel sntray-core)
include_directories(${GTK+_INCLUDE_DIRS} ${VALAPANEL_INCLUDE_DIRS})
target_link_libraries(sntray-valapanel ${GTK+_LIBRARIES} ${VALAPANEL_LIBRARIES})
target_link_libraries(sntray-valapanel ${GTK+_LIBRARIES} ${VALAPANEL_LIBRARIES} -lm)

# Install plugin stuffs
install(TARGETS sntray-valapanel DESTINATION ${CMAKE_INSTALL_LIBDIR}/vala-panel/applets)
Expand Down

0 comments on commit b88b51f

Please sign in to comment.