link transmission-gtk against libappindicator if necessary

This commit is contained in:
Jordan Lee 2015-12-06 16:12:27 +00:00
parent d89a22f878
commit f3cebc6663
1 changed files with 2 additions and 0 deletions

View File

@ -112,6 +112,7 @@ set(${PROJECT_NAME}_HEADERS
include_directories( include_directories(
${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}
${PROJECT_BINARY_DIR} ${PROJECT_BINARY_DIR}
${LIBAPPINDICATOR_INCLUDE_DIRS}
${GTK_INCLUDE_DIRS} ${GTK_INCLUDE_DIRS}
${CURL_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS}
) )
@ -150,6 +151,7 @@ add_executable(${TR_NAME}-gtk WIN32
target_link_libraries(${TR_NAME}-gtk target_link_libraries(${TR_NAME}-gtk
${TR_NAME} ${TR_NAME}
${LIBAPPINDICATOR_LIBRARIES}
${GTK_LIBRARIES} ${GTK_LIBRARIES}
${CURL_LIBRARIES} ${CURL_LIBRARIES}
${EVENT2_LIBRARIES} ${EVENT2_LIBRARIES}