Commit c5beb341 authored by Heiko Becker's avatar Heiko Becker
Browse files

Only build and install designer plugin if it's enabled

Test Plan:
Build with BUILD_DESIGNERPLUGIN=TRUE/FALSE and checked
that the installation matches

Reviewers: #kde_pim

Subscribers: kde-pim

Tags: #kde_pim

Differential Revision: https://phabricator.kde.org/D25471
parent 5c01a4e3
...@@ -238,7 +238,9 @@ install(FILES ...@@ -238,7 +238,9 @@ install(FILES
${PRI_FILENAME} ${PRI_FILENAME}
DESTINATION ${ECM_MKSPECS_INSTALL_DIR}) DESTINATION ${ECM_MKSPECS_INSTALL_DIR})
add_subdirectory(designer) if(BUILD_DESIGNERPLUGIN)
add_subdirectory(designer)
endif()
########### next target ############### ########### next target ###############
......
...@@ -13,7 +13,9 @@ if(BUILD_TESTING) ...@@ -13,7 +13,9 @@ if(BUILD_TESTING)
endif() endif()
add_subdirectory(designer) if(BUILD_DESIGNERPLUGIN)
add_subdirectory(designer)
endif()
set(kdepim_addressline_LIB_SRCS set(kdepim_addressline_LIB_SRCS
addressline/completionorder/completionordereditor.cpp addressline/completionorder/completionordereditor.cpp
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment