Plugin: installation flag added.

master
Kolan Sh 7 years ago
parent df96ceb0b0
commit 972b5e5d88
  1. 4
      ValaPluginCommonRules.cmake

@ -15,3 +15,7 @@ INCLUDE_DIRECTORIES (${PKGS_INCLUDE_DIRS} ${CMAKE_BINARY_DIR}/po)
ADD_LIBRARY (${PluginName} SHARED ${VALA_C} ${PluginExtraSources})
ADD_DEFINITIONS (-DGETTEXT_PACKAGE="${PROJECT_LOWERCASE_NAME}-${MAJOR}")
TARGET_LINK_LIBRARIES (${PluginName} ${PKGS_LIBRARIES} ${PluginLinkLibs})
IF (PluginInstall)
INSTALL (TARGETS ${PluginName} DESTINATION lib/${PROJECT_LOWERCASE_NAME}-${MAJOR}/plugins/${PluginName})
ENDIF (PluginInstall)

Loading…
Cancel
Save