Plugin: installation flag added.
This commit is contained in:
parent
df96ceb0b0
commit
972b5e5d88
|
@ -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…
Reference in New Issue