diff --git a/Utilities/CMakeLists.txt b/Utilities/CMakeLists.txt index c22bd713a0..c2de84438e 100644 --- a/Utilities/CMakeLists.txt +++ b/Utilities/CMakeLists.txt @@ -1,30 +1,28 @@ SUPPRESS_ALL_WARNINGS() # most stuff of these uses itk_zlib.h (via mitkIpPic.h) find_package(ITK) include(${ITK_USE_FILE}) # some legacy util files include in the old style with prefixed directory, # like #include include_directories(.) -subdirs( - IpPic - IpFunc - IpSegmentation - mbilog - KWStyle -) +add_subdirectory(IpPic) +add_subdirectory(IpFunc) +add_subdirectory(IpSegmentation) +add_subdirectory(mbilog) +add_subdirectory(KWStyle) # mbilog is independent of mitk, and cant use mitk macros # configuring happens through mbilog/mbilogConfig.cmake.in set(mbilog_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/mbilog" "${CMAKE_CURRENT_BINARY_DIR}/mbilog") set(mbilog_CONFIG_FILE "${PROJECT_BINARY_DIR}/${MODULES_CONF_DIRNAME}/mbilogConfig.cmake" CACHE INTERNAL "Path to module config" FORCE) configure_file("${CMAKE_CURRENT_SOURCE_DIR}/mbilog/mbilogConfig.cmake.in" "${mbilog_CONFIG_FILE}") set_property(GLOBAL APPEND PROPERTY MITK_MODULE_TARGETS mbilog) set(MITK_MODULE_NAME_REGEX_MATCH ) set(MITK_MODULE_NAME_REGEX_NOT_MATCH ) set(MITK_MODULE_NAME_PREFIX ) add_subdirectory(qtsingleapplication)