diff --git a/template/CMakeLists.txt b/template/CMakeLists.txt index 0dfa6586cc..a35d2cdda3 100644 --- a/template/CMakeLists.txt +++ b/template/CMakeLists.txt @@ -1,12 +1,4 @@ - -set ( - TEMPLATE_FILTERS_INSTALL_ARGS - LIBRARY DESTINATION "${LIB_INSTALL_DIR}/grantlee/${Grantlee_VERSION_MAJOR}.${Grantlee_VERSION_MINOR}" - ARCHIVE DESTINATION "${LIB_INSTALL_DIR}/grantlee/${Grantlee_VERSION_MAJOR}.${Grantlee_VERSION_MINOR}" - RUNTIME DESTINATION "${BIN_INSTALL_DIR}/grantlee/${Grantlee_VERSION_MAJOR}.${Grantlee_VERSION_MINOR}" -) - include (${Grantlee_USE_FILE}) add_subdirectory(filters) add_subdirectory(templates) diff --git a/template/filters/CMakeLists.txt b/template/filters/CMakeLists.txt index 8f59000240..8a9e0a6b36 100644 --- a/template/filters/CMakeLists.txt +++ b/template/filters/CMakeLists.txt @@ -1,6 +1,6 @@ set(kdevfilters_SRCS kdevfilters.cpp) grantlee_add_plugin(kdev_filters kdevfilters) target_link_libraries(kdev_filters ${KDE4_KDECORE_LIBS} kdevplatformlanguage) -install(TARGETS kdev_filters DESTINATION ${TEMPLATE_FILTERS_INSTALL_ARGS}) +install(TARGETS kdev_filters DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/grantlee/${Grantlee_VERSION_MAJOR}.${Grantlee_VERSION_MINOR})