From a5d4329e7c5022083cd102010a2267aa3cc12537 Mon Sep 17 00:00:00 2001 From: Andras Lasso Date: Wed, 4 Dec 2019 20:18:57 -0600 Subject: [PATCH] COMP: Make EditorEffects base classes available for extensions SlicerMacroBuildModuleQtLibrary macro does not add module include directories to CMake variables that are exposed to extensions. However, we need Segmentations/EditorEffects classes to be available for extensions to allow creating editor effects in C++. --- Modules/Loadable/Segmentations/EditorEffects/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Modules/Loadable/Segmentations/EditorEffects/CMakeLists.txt b/Modules/Loadable/Segmentations/EditorEffects/CMakeLists.txt index 54d676d7bed..cc5cbf6eba8 100644 --- a/Modules/Loadable/Segmentations/EditorEffects/CMakeLists.txt +++ b/Modules/Loadable/Segmentations/EditorEffects/CMakeLists.txt @@ -78,10 +78,9 @@ set(${KIT}_TARGET_LIBRARIES ) #----------------------------------------------------------------------------- -SlicerMacroBuildModuleQtLibrary( +SlicerMacroBuildModuleWidgets( NAME ${KIT} EXPORT_DIRECTIVE ${${KIT}_EXPORT_DIRECTIVE} - FOLDER "Module-${MODULE_NAME}" INCLUDE_DIRECTORIES ${${KIT}_INCLUDE_DIRECTORIES} SRCS ${${KIT}_SRCS} MOC_SRCS ${${KIT}_MOC_SRCS}