diff --git a/src/pimcommon/CMakeLists.txt b/src/pimcommon/CMakeLists.txt --- a/src/pimcommon/CMakeLists.txt +++ b/src/pimcommon/CMakeLists.txt @@ -419,5 +419,7 @@ ${PRI_FILENAME} DESTINATION ${ECM_MKSPECS_INSTALL_DIR}) -add_subdirectory(designer) +if(BUILD_DESIGNERPLUGIN) + add_subdirectory(designer) +endif()